home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| POSIX tar archive (GNU)
| default
| |
99%
| file
| POSIX tar archive (GNU), directory ppp-2.1.2d/, mode 40700 , uid 765 , gid 144 , size 0 , seconds 5761535465, user longyear, group users
| default
| |
98%
| file
| data
| default
| |
62%
| TrID
| TAR - Tape ARchive (GNU)
| default
| |
37%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| dearkID
| deark: tar
| default
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default (weak)
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| GNU tar archive
| default
| |
100%
| detectItEasy
| Archive: tar
| default
| |
100%
| binwalkID
| POSIX tar archive (GNU), owner user name: "2d/"
| default
| |
100%
| xdgMime
| application/x-tar
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 70 70 70 2d 32 2e 31 2e | 32 64 2f 00 00 00 00 00 |ppp-2.1.|2d/.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 34 30 37 | 30 30 20 00 20 20 20 37 |.... 407|00 . 7|
|00000070| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 37 36 31 35 33 35 | 0 | 5761535|
|00000090| 34 36 35 20 20 31 31 36 | 31 35 00 20 35 00 00 00 |465 116|15. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 6c 6f 6e 67 79 65 61 |.ustar |.longyea|
|00000110| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 70 70 70 2d 32 2e 31 2e | 32 64 2f 43 68 61 6e 67 |ppp-2.1.|2d/Chang|
|00000210| 65 4c 6f 67 00 00 00 00 | 00 00 00 00 00 00 00 00 |eLog....|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 31 30 30 36 | 30 30 20 00 20 20 20 37 |....1006|00 . 7|
|00000270| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00000280| 20 20 32 35 35 33 35 20 | 20 35 35 37 31 32 35 36 | 25535 | 5571256|
|00000290| 33 31 30 20 20 31 33 35 | 30 34 00 20 30 00 00 00 |310 135|04. 0...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 6c 6f 6e 67 79 65 61 |.ustar |.longyea|
|00000310| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 46 72 69 20 4d 61 79 20 | 32 37 20 31 32 3a 33 32 |Fri May |27 12:32|
|00000410| 3a 35 36 20 31 39 39 34 | 20 20 50 61 75 6c 20 4d |:56 1994| Paul M|
|00000420| 61 63 6b 65 72 72 61 73 | 20 20 28 70 61 75 6c 75 |ackerras| (paulu|
|00000430| 73 40 73 69 72 69 75 73 | 29 0a 0a 09 2a 20 61 64 |s@sirius|)...* ad|
|00000440| 64 65 64 20 4c 69 6e 75 | 78 20 73 75 70 70 6f 72 |ded Linu|x suppor|
|00000450| 74 2c 20 74 68 61 6e 6b | 73 20 74 6f 20 4d 69 63 |t, thank|s to Mic|
|00000460| 68 61 65 6c 20 43 61 6c | 6c 61 68 61 6e 20 61 6e |hael Cal|lahan an|
|00000470| 64 20 41 6c 20 4c 6f 6e | 67 79 65 61 72 2e 0a 0a |d Al Lon|gyear...|
|00000480| 09 2a 20 73 65 63 75 72 | 69 74 79 20 65 6e 68 61 |.* secur|ity enha|
|00000490| 6e 63 65 6d 65 6e 74 73 | 3a 20 63 68 65 63 6b 20 |ncements|: check |
|000004a0| 70 65 72 6d 69 73 73 69 | 6f 6e 73 20 6f 6e 20 6f |permissi|ons on o|
|000004b0| 70 74 69 6f 6e 73 20 66 | 69 6c 65 73 2c 20 63 68 |ptions f|iles, ch|
|000004c0| 65 63 6b 0a 09 61 64 64 | 72 65 73 73 65 73 20 28 |eck..add|resses (|
|000004d0| 72 65 6a 65 63 74 20 6c | 6f 6f 70 62 61 63 6b 20 |reject l|oopback |
|000004e0| 61 6e 64 20 6d 75 6c 74 | 69 63 61 73 74 29 2c 20 |and mult|icast), |
|000004f0| 72 65 71 75 69 72 65 0a | 09 2f 65 74 63 2f 70 70 |require.|./etc/pp|
|00000500| 70 2f 6f 70 74 69 6f 6e | 73 20 62 79 20 64 65 66 |p/option|s by def|
|00000510| 61 75 6c 74 2e 0a 0a 09 | 2a 20 63 6f 64 65 20 66 |ault....|* code f|
|00000520| 72 6f 6d 20 4c 69 6e 75 | 78 20 70 6f 72 74 3a 20 |rom Linu|x port: |
|00000530| 73 65 6e 64 20 65 63 68 | 6f 2d 72 65 71 75 65 73 |send ech|o-reques|
|00000540| 74 73 20 61 6e 64 20 74 | 65 72 6d 69 6e 61 74 65 |ts and t|erminate|
|00000550| 20 74 68 65 0a 09 6c 69 | 6e 6b 20 69 66 20 65 63 | the..li|nk if ec|
|00000560| 68 6f 2d 72 65 70 6c 69 | 65 73 20 61 72 65 20 6e |ho-repli|es are n|
|00000570| 6f 74 20 72 65 63 65 69 | 76 65 64 3b 20 73 6f 66 |ot recei|ved; sof|
|00000580| 74 77 61 72 65 20 66 6c | 6f 77 20 63 6f 6e 74 72 |tware fl|ow contr|
|00000590| 6f 6c 0a 09 6f 70 74 69 | 6f 6e 20 28 2d 63 72 74 |ol..opti|on (-crt|
|000005a0| 73 63 74 73 2f 78 6f 6e | 78 6f 66 66 29 2e 0a 0a |scts/xon|xoff)...|
|000005b0| 09 2a 20 76 6a 2d 6d 61 | 78 2d 73 6c 6f 74 73 20 |.* vj-ma|x-slots |
|000005c0| 61 6e 64 20 2d 76 6a 63 | 63 6f 6d 70 20 6f 70 74 |and -vjc|comp opt|
|000005d0| 69 6f 6e 73 2e 0a 0a 09 | 2a 20 62 75 67 73 20 66 |ions....|* bugs f|
|000005e0| 69 78 65 64 3a 20 70 72 | 69 6f 72 69 74 79 20 71 |ixed: pr|iority q|
|000005f0| 75 65 75 65 69 6e 67 20 | 6f 6e 20 6c 69 74 74 6c |ueueing |on littl|
|00000600| 65 2d 65 6e 64 69 61 6e | 20 6d 61 63 68 69 6e 65 |e-endian| machine|
|00000610| 73 2c 0a 09 65 73 63 61 | 70 65 2d 65 73 63 61 70 |s,..esca|pe-escap|
|00000620| 65 20 73 65 71 75 65 6e | 63 65 20 63 6f 72 72 65 |e sequen|ce corre|
|00000630| 63 74 6c 79 20 69 6e 74 | 65 72 70 72 65 74 65 64 |ctly int|erpreted|
|00000640| 0a 0a 4d 6f 6e 20 41 70 | 72 20 31 38 20 32 30 3a |..Mon Ap|r 18 20:|
|00000650| 35 30 3a 30 38 20 31 39 | 39 34 20 20 50 61 75 6c |50:08 19|94 Paul|
|00000660| 20 4d 61 63 6b 65 72 72 | 61 73 20 20 28 70 61 75 | Mackerr|as (pau|
|00000670| 6c 75 73 40 61 76 61 67 | 6f 29 0a 0a 09 2a 20 53 |lus@avag|o)...* S|
|00000680| 6f 6d 65 20 75 70 64 61 | 74 65 73 20 74 6f 20 6d |ome upda|tes to m|
|00000690| 61 6b 65 20 74 68 65 20 | 63 6f 64 65 20 63 6f 6e |ake the |code con|
|000006a0| 66 6f 72 6d 20 74 6f 20 | 52 46 43 73 20 31 35 34 |form to |RFCs 154|
|000006b0| 38 20 61 6e 64 20 31 35 | 34 39 3a 0a 09 20 20 2d |8 and 15|49:.. -|
|000006c0| 20 69 6d 70 6c 65 6d 65 | 6e 74 20 70 61 63 6b 65 | impleme|nt packe|
|000006d0| 74 20 61 62 6f 72 74 20 | 28 7d 7e 29 20 63 6f 72 |t abort |(}~) cor|
|000006e0| 72 65 63 74 6c 79 0a 09 | 20 20 2d 20 69 67 6e 6f |rectly..| - igno|
|000006f0| 72 65 20 4c 43 50 20 61 | 63 6b 73 2f 6e 61 6b 73 |re LCP a|cks/naks|
|00000700| 2f 72 65 6a 65 63 74 73 | 20 65 74 63 2e 20 77 69 |/rejects| etc. wi|
|00000710| 74 68 20 74 68 65 20 49 | 44 20 6f 66 20 74 68 65 |th the I|D of the|
|00000720| 20 6c 61 73 74 0a 09 20 | 20 20 20 63 6f 6e 66 2d | last.. | conf-|
|00000730| 72 65 71 20 73 65 6e 74 | 20 6f 6e 63 65 20 77 65 |req sent| once we|
|00000740| 27 76 65 20 73 65 65 6e | 20 61 20 76 61 6c 69 64 |'ve seen| a valid|
|00000750| 20 61 63 6b 2f 6e 61 6b | 2f 72 65 6a 65 63 74 0a | ack/nak|/reject.|
|00000760| 09 20 20 2d 20 69 6d 70 | 6c 65 6d 65 6e 74 65 64 |. - imp|lemented|
|00000770| 20 72 65 63 65 69 76 65 | 20 61 73 79 6e 63 6d 61 | receive| asyncma|
|00000780| 70 2e 0a 0a 09 2a 20 69 | 66 5f 70 70 70 2e 63 3a |p....* i|f_ppp.c:|
|00000790| 20 72 65 73 74 72 75 63 | 74 75 72 65 64 20 74 6f | restruc|tured to|
|000007a0| 20 6d 61 6b 65 20 6d 6f | 72 65 20 6f 66 20 74 68 | make mo|re of th|
|000007b0| 65 20 63 6f 64 65 20 75 | 73 61 62 6c 65 20 62 79 |e code u|sable by|
|000007c0| 0a 09 64 65 76 69 63 65 | 73 20 6f 74 68 65 72 20 |..device|s other |
|000007d0| 74 68 61 6e 20 61 73 79 | 6e 63 20 74 74 79 20 6c |than asy|nc tty l|
|000007e0| 69 6e 65 73 2e 20 20 41 | 6c 73 6f 20 69 6d 70 6c |ines. A|lso impl|
|000007f0| 65 6d 65 6e 74 65 64 0a | 09 65 78 74 65 6e 64 65 |emented.|.extende|
|00000800| 64 20 74 72 61 6e 73 6d | 69 74 20 61 73 79 6e 63 |d transm|it async|
|00000810| 6d 61 70 20 61 6e 64 20 | 63 68 65 63 6b 73 20 66 |map and |checks f|
|00000820| 6f 72 20 37 2d 62 69 74 | 20 6c 69 6e 65 73 2e 0a |or 7-bit| lines..|
|00000830| 0a 09 2a 20 73 6c 63 6f | 6d 70 72 65 73 73 2e 63 |..* slco|mpress.c|
|00000840| 20 61 6e 64 20 6f 74 68 | 65 72 20 6b 65 72 6e 65 | and oth|er kerne|
|00000850| 6c 20 63 6f 64 65 20 6d | 6f 64 69 66 69 65 64 20 |l code m|odified |
|00000860| 73 6f 20 74 68 61 74 20 | 70 70 70 64 20 63 61 6e |so that |pppd can|
|00000870| 0a 09 74 65 6c 6c 20 69 | 74 20 68 6f 77 20 6d 61 |..tell i|t how ma|
|00000880| 6e 79 20 73 6c 6f 74 73 | 20 74 6f 20 75 73 65 20 |ny slots| to use |
|00000890| 69 6e 20 56 4a 20 63 6f | 6d 70 72 65 73 73 69 6f |in VJ co|mpressio|
|000008a0| 6e 20 28 73 6f 20 69 66 | 20 74 68 65 20 70 65 65 |n (so if| the pee|
|000008b0| 72 0a 09 72 65 71 75 65 | 73 74 73 20 74 68 61 74 |r..reque|sts that|
|000008c0| 20 77 65 20 75 73 65 20 | 66 65 77 65 72 20 73 6c | we use |fewer sl|
|000008d0| 6f 74 73 20 77 65 20 61 | 63 74 75 61 6c 6c 79 20 |ots we a|ctually |
|000008e0| 64 6f 29 2e 0a 0a 09 2a | 20 70 70 70 64 3a 20 61 |do)....*| pppd: a|
|000008f0| 64 64 65 64 20 6e 65 77 | 20 6f 70 74 69 6f 6e 73 |dded new| options|
|00000900| 3a 20 6b 64 65 62 75 67 | 2c 20 65 73 63 61 70 65 |: kdebug|, escape|
|00000910| 2c 20 6d 74 75 2c 20 64 | 69 73 63 6f 6e 6e 65 63 |, mtu, d|isconnec|
|00000920| 74 2c 20 6c 6f 63 6b 2e | 0a 09 41 64 64 65 64 20 |t, lock.|..Added |
|00000930| 73 65 72 69 61 6c 20 64 | 65 76 69 63 65 20 6c 6f |serial d|evice lo|
|00000940| 63 6b 69 6e 67 20 63 6f | 64 65 20 28 73 74 6f 6c |cking co|de (stol|
|00000950| 65 6e 20 66 72 6f 6d 20 | 63 68 61 74 2e 63 20 61 |en from |chat.c a|
|00000960| 6e 64 20 6b 65 72 6d 69 | 74 29 2e 0a 0a 09 2a 20 |nd kermi|t)....* |
|00000970| 49 6e 63 6c 75 64 65 20 | 55 6c 74 72 69 78 20 73 |Include |Ultrix s|
|00000980| 75 70 70 6f 72 74 2e 0a | 0a 54 75 65 20 44 65 63 |upport..|.Tue Dec|
|00000990| 20 31 34 20 31 36 3a 34 | 35 3a 34 31 20 31 39 39 | 14 16:4|5:41 199|
|000009a0| 33 20 20 50 61 75 6c 20 | 4d 61 63 6b 65 72 72 61 |3 Paul |Mackerra|
|000009b0| 73 20 20 28 70 61 75 6c | 75 73 20 61 74 20 73 69 |s (paul|us at si|
|000009c0| 72 69 75 73 29 0a 0a 09 | 2a 20 70 70 70 64 20 68 |rius)...|* pppd h|
|000009d0| 61 73 20 62 65 65 6e 20 | 73 75 62 73 74 61 6e 74 |as been |substant|
|000009e0| 69 61 6c 6c 79 20 72 65 | 77 72 69 74 74 65 6e 20 |ially re|written |
|000009f0| 74 6f 20 69 6d 70 72 6f | 76 65 20 73 65 63 75 72 |to impro|ve secur|
|00000a00| 69 74 79 20 61 6e 64 20 | 74 6f 0a 09 63 6f 6e 66 |ity and |to..conf|
|00000a10| 6f 72 6d 20 74 6f 20 52 | 46 43 73 20 31 33 33 5b |orm to R|FCs 133[|
|00000a20| 31 33 34 5d 2e 0a 0a 09 | 2a 20 6e 75 6d 65 72 6f |134]....|* numero|
|00000a30| 75 73 20 62 75 67 73 20 | 69 6e 20 70 70 70 20 69 |us bugs |in ppp i|
|00000a40| 6e 74 65 72 66 61 63 65 | 20 63 6f 64 65 20 66 6f |nterface| code fo|
|00000a50| 72 20 2a 62 73 64 20 73 | 71 75 61 73 68 65 64 2c |r *bsd s|quashed,|
|00000a60| 0a 09 70 61 72 74 69 63 | 75 6c 61 72 6c 79 20 69 |..partic|ularly i|
|00000a70| 6e 20 6d 62 75 66 20 68 | 61 6e 64 6c 69 6e 67 0a |n mbuf h|andling.|
|00000a80| 0a 09 2a 20 69 6e 63 6c | 75 64 65 20 64 69 72 65 |..* incl|ude dire|
|00000a90| 63 74 6f 72 79 20 72 65 | 6e 61 6d 65 64 20 74 6f |ctory re|named to|
|00000aa0| 20 6e 65 74 0a 0a 09 2a | 20 70 70 70 73 74 61 74 | net...*| pppstat|
|00000ab0| 73 20 6d 6f 76 65 64 20 | 69 6e 74 6f 20 69 74 73 |s moved |into its|
|00000ac0| 20 6f 77 6e 20 64 69 72 | 65 63 74 6f 72 79 0a 0a | own dir|ectory..|
|00000ad0| 09 2a 20 4d 61 6b 65 66 | 69 6c 65 73 20 75 70 64 |.* Makef|iles upd|
|00000ae0| 61 74 65 64 0a 0a 54 68 | 75 20 4a 75 6e 20 31 37 |ated..Th|u Jun 17|
|00000af0| 20 30 38 3a 31 37 3a 31 | 37 20 31 39 39 33 20 20 | 08:17:1|7 1993 |
|00000b00| 42 72 61 64 20 50 61 72 | 6b 65 72 20 20 28 62 72 |Brad Par|ker (br|
|00000b10| 61 64 20 61 74 20 73 74 | 65 6d 77 69 6e 64 65 72 |ad at st|emwinder|
|00000b20| 29 0a 0a 09 2a 20 41 64 | 64 65 64 20 63 68 65 63 |)...* Ad|ded chec|
|00000b30| 6b 20 69 6e 20 69 66 5f | 70 70 70 2e 63 2f 70 70 |k in if_|ppp.c/pp|
|00000b40| 70 69 6e 70 75 74 28 29 | 20 66 6f 72 20 6d 61 78 |pinput()| for max|
|00000b50| 20 68 64 72 20 65 78 70 | 61 6e 73 69 6f 6e 20 61 | hdr exp|ansion a|
|00000b60| 74 20 65 6e 64 0a 09 6f | 66 20 6d 62 75 66 2e 20 |t end..o|f mbuf. |
|00000b70| 20 74 68 69 73 20 77 61 | 73 20 63 72 61 73 68 69 | this wa|s crashi|
|00000b80| 6e 67 20 77 69 74 68 20 | 6c 61 72 67 65 20 6d 74 |ng with |large mt|
|00000b90| 75 27 73 0a 0a 09 2a 20 | 61 64 64 65 64 20 6d 61 |u's...* |added ma|
|00000ba0| 63 72 6f 20 69 6e 20 70 | 70 70 64 2e 68 20 74 6f |cro in p|ppd.h to|
|00000bb0| 20 65 66 66 65 63 74 20 | 74 68 65 20 73 61 5f 6c | effect |the sa_l|
|00000bc0| 65 6e 20 66 69 78 0a 0a | 57 65 64 20 41 70 72 20 |en fix..|Wed Apr |
|00000bd0| 32 38 20 30 38 3a 32 31 | 3a 30 30 20 31 39 39 33 |28 08:21|:00 1993|
|00000be0| 20 20 42 72 61 64 20 50 | 61 72 6b 65 72 20 20 28 | Brad P|arker (|
|00000bf0| 62 72 61 64 20 61 74 20 | 73 74 65 6d 77 69 6e 64 |brad at |stemwind|
|00000c00| 65 72 29 0a 0a 20 20 20 | 20 20 20 20 09 2a 20 70 |er).. | .* p|
|00000c10| 70 70 5f 69 66 2e 63 3b | 20 61 64 64 65 64 20 63 |pp_if.c;| added c|
|00000c20| 6f 64 65 20 74 6f 20 66 | 72 65 65 20 72 6f 75 74 |ode to f|ree rout|
|00000c30| 65 20 61 6e 64 20 69 66 | 20 73 74 72 75 63 74 75 |e and if| structu|
|00000c40| 72 65 73 20 63 6f 72 72 | 65 63 74 6c 79 0a 09 73 |res corr|ectly..s|
|00000c50| 6f 20 75 6e 6c 6f 61 64 | 20 77 6f 6e 27 74 20 70 |o unload| won't p|
|00000c60| 61 6e 69 63 20 74 68 65 | 20 6b 65 72 6e 65 6c 2e |anic the| kernel.|
|00000c70| 0a 0a 4d 6f 6e 20 41 70 | 72 20 20 35 20 31 32 3a |..Mon Ap|r 5 12:|
|00000c80| 30 32 3a 30 30 20 31 39 | 39 33 20 20 42 72 61 64 |02:00 19|93 Brad|
|00000c90| 20 50 61 72 6b 65 72 20 | 20 28 62 72 61 64 20 61 | Parker | (brad a|
|00000ca0| 74 20 73 74 65 6d 77 69 | 6e 64 65 72 29 0a 0a 20 |t stemwi|nder).. |
|00000cb0| 20 20 20 20 20 20 09 2a | 20 70 70 70 5f 69 6e 69 | .*| ppp_ini|
|00000cc0| 74 2e 63 3b 20 61 64 64 | 65 64 20 73 75 6e 34 6d |t.c; add|ed sun4m|
|00000cd0| 20 63 6f 6e 64 69 74 69 | 6f 6e 61 6c 73 0a 0a 54 | conditi|onals..T|
|00000ce0| 68 75 20 4d 61 72 20 32 | 35 20 30 38 3a 32 33 3a |hu Mar 2|5 08:23:|
|00000cf0| 30 30 20 31 39 39 33 20 | 20 42 72 61 64 20 50 61 |00 1993 | Brad Pa|
|00000d00| 72 6b 65 72 20 20 28 62 | 72 61 64 20 61 74 20 73 |rker (b|rad at s|
|00000d10| 74 65 6d 77 69 6e 64 65 | 72 29 0a 0a 09 2a 20 41 |temwinde|r)...* A|
|00000d20| 64 64 65 64 20 53 75 6e | 6f 73 20 62 75 67 20 77 |dded Sun|os bug w|
|00000d30| 6f 72 6b 61 72 6f 75 6e | 64 20 74 6f 20 70 70 70 |orkaroun|d to ppp|
|00000d40| 5f 61 73 79 6e 63 2e 63 | 2f 70 70 70 5f 61 73 79 |_async.c|/ppp_asy|
|00000d50| 6e 63 5f 77 73 72 76 28 | 29 0a 0a 46 72 69 20 4d |nc_wsrv(|)..Fri M|
|00000d60| 61 72 20 20 35 20 31 33 | 3a 34 36 3a 34 38 20 31 |ar 5 13|:46:48 1|
|00000d70| 39 39 33 20 20 42 72 61 | 64 20 50 61 72 6b 65 72 |993 Bra|d Parker|
|00000d80| 20 20 28 62 72 61 64 20 | 61 74 20 73 74 65 6d 77 | (brad |at stemw|
|00000d90| 69 6e 64 65 72 29 0a 0a | 20 20 20 20 09 2a 20 66 |inder)..| .* f|
|00000da0| 69 78 65 64 20 64 65 6c | 65 74 65 20 72 6f 75 74 |ixed del|ete rout|
|00000db0| 65 20 74 6f 20 77 6f 72 | 6b 20 69 6e 20 69 70 63 |e to wor|k in ipc|
|00000dc0| 70 5f 64 6f 77 6e 28 29 | 0a 0a 09 2a 20 61 64 64 |p_down()|...* add|
|00000dd0| 65 64 20 22 75 6e 6c 6f | 61 64 22 20 63 6f 64 65 |ed "unlo|ad" code|
|00000de0| 20 74 6f 20 70 70 70 5f | 69 6e 69 74 2e 63 20 26 | to ppp_|init.c &|
|00000df0| 20 70 70 70 5f 69 66 2e | 63 2e 20 20 6e 6f 74 65 | ppp_if.|c. note|
|00000e00| 20 69 74 20 69 73 0a 09 | 6e 6f 74 20 61 6c 77 61 | it is..|not alwa|
|00000e10| 79 73 20 73 61 66 65 20 | 74 6f 20 75 6e 6c 6f 61 |ys safe |to unloa|
|00000e20| 64 20 74 68 65 20 64 72 | 69 76 65 72 20 61 73 20 |d the dr|iver as |
|00000e30| 69 70 20 70 72 6f 74 6f | 63 6f 6c 73 20 6d 61 79 |ip proto|cols may|
|00000e40| 20 73 74 69 6c 6c 0a 09 | 68 61 76 65 20 70 74 72 | still..|have ptr|
|00000e50| 73 20 74 6f 20 74 68 65 | 20 69 6e 74 65 72 66 61 |s to the| interfa|
|00000e60| 63 65 2e 0a 0a 09 2a 20 | 70 70 70 5f 69 66 2e 63 |ce....* |ppp_if.c|
|00000e70| 3a 20 61 64 64 65 64 20 | 70 70 70 5f 62 75 73 79 |: added |ppp_busy|
|00000e80| 28 29 20 61 6e 64 20 70 | 70 70 5f 75 6e 61 74 74 |() and p|pp_unatt|
|00000e90| 61 63 68 28 29 0a 0a 09 | 2a 20 70 70 70 5f 61 73 |ach()...|* ppp_as|
|00000ea0| 79 6e 63 2e 63 3a 20 61 | 64 64 65 64 20 53 49 4f |ync.c: a|dded SIO|
|00000eb0| 43 47 49 46 44 45 42 55 | 47 2c 20 53 49 4f 43 53 |CGIFDEBU|G, SIOCS|
|00000ec0| 49 46 44 45 42 55 47 20 | 69 6f 63 74 6c 27 73 20 |IFDEBUG |ioctl's |
|00000ed0| 74 6f 20 61 6c 6c 6f 77 | 0a 09 74 75 72 6e 69 6e |to allow|..turnin|
|00000ee0| 67 20 74 68 65 20 64 65 | 62 75 67 20 66 6c 61 67 |g the de|bug flag|
|00000ef0| 73 20 6f 6e 20 61 6e 64 | 20 6f 66 66 20 28 73 69 |s on and| off (si|
|00000f00| 6e 63 65 20 77 65 20 68 | 61 76 65 20 6e 6f 20 73 |nce we h|ave no s|
|00000f10| 79 6d 62 6f 6c 73 20 74 | 6f 0a 09 75 73 65 20 6b |ymbols t|o..use k|
|00000f20| 61 64 62 29 2e 20 20 66 | 69 78 65 64 20 62 75 67 |adb). f|ixed bug|
|00000f30| 73 20 69 6e 20 53 49 4f | 43 53 49 46 41 53 59 4e |s in SIO|CSIFASYN|
|00000f40| 43 4d 41 50 20 77 68 69 | 63 68 20 63 61 75 73 65 |CMAP whi|ch cause|
|00000f50| 64 20 62 61 64 20 72 65 | 73 75 6c 74 0a 09 65 76 |d bad re|sult..ev|
|00000f60| 65 6e 20 77 68 65 6e 20 | 69 6f 63 74 6c 20 77 6f |en when |ioctl wo|
|00000f70| 72 6b 65 64 2e 0a 0a 09 | 2a 20 63 68 61 74 2e 63 |rked....|* chat.c|
|00000f80| 3a 20 6e 6f 20 6c 6f 6e | 67 65 72 20 6d 65 73 73 |: no lon|ger mess|
|00000f90| 65 73 20 77 69 74 68 20 | 22 63 5f 66 6c 61 67 22 |es with |"c_flag"|
|00000fa0| 20 61 73 20 74 68 69 73 | 20 69 73 20 74 68 65 20 | as this| is the |
|00000fb0| 6a 6f 62 0a 09 6f 66 20 | 70 70 70 64 2e 0a 0a 09 |job..of |pppd....|
|00000fc0| 2a 20 6d 61 69 6e 2e 63 | 3a 20 64 6f 6e 27 74 20 |* main.c|: don't |
|00000fd0| 73 65 74 20 66 6c 6f 77 | 20 63 6f 6e 74 72 6f 6c |set flow| control|
|00000fe0| 20 62 65 66 6f 72 65 20 | 63 61 6c 6c 69 6e 67 20 | before |calling |
|00000ff0| 22 63 6f 6e 6e 65 63 74 | 22 20 73 63 72 69 70 74 |"connect|" script|
|00001000| 2e 0a 0a 54 68 75 20 4d | 61 72 20 20 34 20 30 35 |...Thu M|ar 4 05|
|00001010| 3a 32 35 3a 32 33 20 31 | 39 39 33 20 20 42 72 61 |:25:23 1|993 Bra|
|00001020| 64 20 50 61 72 6b 65 72 | 20 20 28 62 72 61 64 40 |d Parker| (brad@|
|00001030| 66 61 73 74 65 72 2e 66 | 63 72 2e 63 6f 6d 29 0a |faster.f|cr.com).|
|00001040| 0a 09 2a 20 4f 68 20 6d | 79 2e 20 20 49 27 6d 20 |..* Oh m|y. I'm |
|00001050| 73 75 70 72 69 73 65 64 | 20 61 6e 79 6f 6e 65 20 |suprised| anyone |
|00001060| 65 76 65 72 20 67 6f 74 | 20 74 68 69 73 20 77 6f |ever got| this wo|
|00001070| 72 6b 69 6e 67 20 6f 6e | 20 33 38 36 62 73 64 2e |rking on| 386bsd.|
|00001080| 0a 09 57 65 6c 6c 2c 20 | 49 20 69 6e 73 74 61 6c |..Well, |I instal|
|00001090| 6c 65 64 20 61 6c 6c 20 | 74 68 65 20 70 61 74 63 |led all |the patc|
|000010a0| 68 65 64 20 69 6e 20 74 | 68 65 20 33 38 36 62 73 |hed in t|he 386bs|
|000010b0| 64 20 64 69 72 20 72 65 | 6c 61 74 69 76 65 20 74 |d dir re|lative t|
|000010c0| 6f 20 74 68 65 0a 09 22 | 70 61 74 63 68 6b 69 74 |o the.."|patchkit|
|000010d0| 20 30 2e 32 2e 31 22 20 | 76 65 72 73 69 6f 6e 20 | 0.2.1" |version |
|000010e0| 6f 66 20 33 38 36 62 73 | 64 2e 20 20 49 20 72 65 |of 386bs|d. I re|
|000010f0| 6e 61 6d 65 64 20 74 68 | 69 6e 67 73 20 74 6f 20 |named th|ings to |
|00001100| 62 65 20 61 20 62 69 74 | 0a 09 6d 6f 72 65 20 33 |be a bit|..more 3|
|00001110| 38 36 62 73 64 2d 69 73 | 65 64 2e 20 20 54 68 69 |86bsd-is|ed. Thi|
|00001120| 73 20 72 65 6c 65 61 73 | 65 20 69 73 20 66 6f 72 |s releas|e is for|
|00001130| 20 73 75 6e 6f 73 20 34 | 2e 31 2e 78 20 61 6e 64 | sunos 4|.1.x and|
|00001140| 20 33 38 36 62 73 64 20 | 30 2e 31 0a 09 6f 6e 6c | 386bsd |0.1..onl|
|00001150| 79 2e 20 20 49 20 63 6c | 65 61 6e 65 64 20 75 70 |y. I cl|eaned up|
|00001160| 20 63 68 61 74 20 61 20 | 6c 69 74 74 6c 65 20 61 | chat a |little a|
|00001170| 6e 64 20 6d 61 64 65 20 | 69 74 20 6c 6f 67 20 74 |nd made |it log t|
|00001180| 6f 20 73 79 73 6c 6f 67 | 2e 20 20 49 0a 09 63 6c |o syslog|. I..cl|
|00001190| 65 61 6e 65 64 20 75 70 | 20 70 70 70 64 20 61 20 |eaned up| pppd a |
|000011a0| 6c 69 74 74 6c 65 20 28 | 61 20 76 65 72 79 20 6c |little (|a very l|
|000011b0| 69 74 74 6c 65 29 20 61 | 6e 64 20 67 6f 74 20 69 |ittle) a|nd got i|
|000011c0| 74 20 74 6f 20 77 6f 72 | 6b 20 77 69 74 68 0a 09 |t to wor|k with..|
|000011d0| 33 38 36 62 73 64 20 30 | 2e 31 2e 20 20 53 6f 6d |386bsd 0|.1. Som|
|000011e0| 65 20 6d 6f 64 73 20 74 | 6f 20 74 68 65 20 66 73 |e mods t|o the fs|
|000011f0| 6d 20 61 6e 64 20 69 70 | 63 70 20 66 6f 72 20 62 |m and ip|cp for b|
|00001200| 65 74 74 65 72 20 6c 6f | 67 67 69 6e 67 20 61 6e |etter lo|gging an|
|00001210| 64 0a 09 74 6f 20 68 61 | 6e 67 20 75 70 20 74 68 |d..to ha|ng up th|
|00001220| 65 20 70 68 6f 6e 65 20 | 6f 6e 20 66 61 69 6c 65 |e phone |on faile|
|00001230| 64 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 73 2e 0a 0a |d connec|tions...|
|00001240| 09 2a 20 63 68 61 74 2e | 63 20 6d 61 64 65 20 6c |.* chat.|c made l|
|00001250| 6f 67 20 74 6f 20 73 79 | 73 6c 6f 67 2c 20 75 73 |og to sy|slog, us|
|00001260| 65 20 74 65 72 6d 69 6f | 73 0a 0a 09 2a 20 69 70 |e termio|s...* ip|
|00001270| 63 70 2e 63 20 6e 6f 74 | 20 6e 65 67 6f 74 69 61 |cp.c not| negotia|
|00001280| 74 65 73 20 62 6f 74 68 | 20 74 68 65 20 6e 65 77 |tes both| the new|
|00001290| 20 61 6e 64 20 6f 6c 64 | 20 61 64 64 72 65 73 73 | and old| address|
|000012a0| 65 73 2e 20 20 49 74 0a | 09 61 70 70 65 61 72 73 |es. It.|.appears|
|000012b0| 20 74 6f 20 75 73 65 20 | 74 68 65 20 63 6f 72 72 | to use |the corr|
|000012c0| 65 63 74 20 61 64 64 72 | 65 73 73 65 73 20 6e 6f |ect addr|esses no|
|000012d0| 77 20 77 68 65 6e 20 62 | 72 69 6e 67 69 6e 67 20 |w when b|ringing |
|000012e0| 75 70 20 74 68 65 0a 09 | 69 6e 74 65 72 66 61 63 |up the..|interfac|
|000012f0| 65 2e 20 0a 0a 09 2a 20 | 66 73 6d 2e 63 20 69 6d |e. ...* |fsm.c im|
|00001300| 70 72 6f 76 65 64 20 6c | 6f 67 67 69 6e 67 20 73 |proved l|ogging s|
|00001310| 6c 69 67 68 74 6c 79 2e | 20 20 61 64 64 65 64 20 |lightly.| added |
|00001320| 6d 61 78 20 23 20 6f 66 | 20 63 6f 6e 66 69 67 0a |max # of| config.|
|00001330| 09 72 65 71 75 65 73 74 | 73 2e 0a 0a 09 2a 20 63 |.request|s....* c|
|00001340| 6c 65 61 6e 65 64 20 75 | 70 20 74 68 65 20 22 33 |leaned u|p the "3|
|00001350| 38 36 62 73 64 22 20 64 | 69 72 65 63 74 6f 72 79 |86bsd" d|irectory|
|00001360| 20 74 6f 20 6d 61 74 63 | 68 20 74 68 65 20 6c 61 | to matc|h the la|
|00001370| 74 65 73 74 20 76 65 72 | 73 69 6f 6e 20 6f 66 0a |test ver|sion of.|
|00001380| 09 33 38 36 62 73 64 20 | 30 2e 31 2e 20 20 41 64 |.386bsd |0.1. Ad|
|00001390| 64 65 64 20 66 69 6e 61 | 6c 20 66 69 6c 65 73 20 |ded fina|l files |
|000013a0| 61 73 20 77 65 6c 6c 20 | 61 73 20 63 6f 6e 74 65 |as well |as conte|
|000013b0| 78 74 20 64 69 66 66 73 | 2e 0a 0a 09 2a 20 66 69 |xt diffs|....* fi|
|000013c0| 78 65 64 20 75 70 20 6d | 61 6b 65 66 69 6c 65 73 |xed up m|akefiles|
|000013d0| 20 74 6f 20 63 6c 65 61 | 6e 20 61 6e 64 20 69 6e | to clea|n and in|
|000013e0| 73 74 61 6c 6c 2e 20 61 | 64 64 65 64 20 22 73 61 |stall. a|dded "sa|
|000013f0| 66 65 63 6f 70 79 22 20 | 73 63 72 69 70 74 0a 0a |fecopy" |script..|
|00001400| 53 61 74 20 4a 61 6e 20 | 20 32 20 32 33 3a 33 37 |Sat Jan | 2 23:37|
|00001410| 3a 34 30 20 31 39 39 33 | 20 20 42 72 61 64 20 50 |:40 1993| Brad P|
|00001420| 61 72 6b 65 72 20 20 28 | 62 72 61 64 20 61 74 20 |arker (|brad at |
|00001430| 73 74 65 6d 77 69 6e 64 | 65 72 2e 66 63 72 2e 63 |stemwind|er.fcr.c|
|00001440| 6f 6d 29 0a 0a 09 2a 20 | 41 64 64 65 64 20 6d 6f |om)...* |Added mo|
|00001450| 64 6c 6f 61 64 20 63 6f | 64 65 20 66 72 6f 6d 20 |dload co|de from |
|00001460| 42 65 6e 73 6f 6e 20 4d | 61 72 67 75 6c 69 65 73 |Benson M|argulies|
|00001470| 20 3c 62 65 6e 73 6f 6e | 40 6f 64 69 2e 63 6f 6d | <benson|@odi.com|
|00001480| 3e 0a 09 4d 61 6b 65 73 | 20 69 6e 73 74 61 6c 6c |>..Makes| install|
|00001490| 61 74 69 6f 6e 20 6f 6e | 20 53 75 6e 4f 53 20 34 |ation on| SunOS 4|
|000014a0| 2e 78 20 6d 75 63 68 20 | 73 69 6d 70 6c 65 72 0a |.x much |simpler.|
|000014b0| 0a 54 75 65 20 4a 75 6e | 20 32 33 20 31 31 3a 34 |.Tue Jun| 23 11:4|
|000014c0| 38 3a 33 30 20 31 39 39 | 32 20 20 42 72 61 64 20 |8:30 199|2 Brad |
|000014d0| 50 61 72 6b 65 72 20 20 | 28 62 72 61 64 20 61 74 |Parker |(brad at|
|000014e0| 20 68 61 69 74 69 29 0a | 0a 09 2a 20 63 68 61 6e | haiti).|..* chan|
|000014f0| 67 65 64 20 70 70 70 73 | 74 61 74 73 2e 63 20 74 |ged ppps|tats.c t|
|00001500| 6f 20 77 6f 72 6b 20 77 | 69 74 68 20 53 75 6e 4f |o work w|ith SunO|
|00001510| 53 20 6b 76 6d 20 6c 69 | 62 0a 0a 09 2a 20 72 65 |S kvm li|b...* re|
|00001520| 6d 65 72 67 65 64 20 61 | 6c 6c 20 74 68 65 20 66 |merged a|ll the f|
|00001530| 69 6c 65 73 20 77 69 74 | 68 20 74 68 65 20 22 73 |iles wit|h the "s|
|00001540| 75 6e 22 20 76 65 72 73 | 69 6f 6e 2e 20 43 6f 6d |un" vers|ion. Com|
|00001550| 70 69 6c 65 64 20 61 6e | 64 0a 09 74 65 73 74 65 |piled an|d..teste|
|00001560| 64 20 6f 6e 20 62 6f 74 | 68 20 53 75 6e 4f 53 20 |d on bot|h SunOS |
|00001570| 34 2e 31 2e 31 20 61 6e | 64 20 33 38 36 42 53 44 |4.1.1 an|d 386BSD|
|00001580| 20 30 2e 30 2e 0a 0a 09 | 2a 20 6d 6f 76 65 64 20 | 0.0....|* moved |
|00001590| 74 68 65 20 72 65 6c 65 | 61 73 65 20 64 69 72 73 |the rele|ase dirs|
|000015a0| 20 61 6c 6c 20 61 72 6f | 75 6e 64 20 74 6f 20 62 | all aro|und to b|
|000015b0| 65 20 61 20 62 69 74 20 | 63 6c 65 61 6e 65 72 2e |e a bit |cleaner.|
|000015c0| 20 55 70 64 61 74 65 64 | 0a 09 74 68 65 20 6d 61 | Updated|..the ma|
|000015d0| 6b 65 66 69 6c 65 73 20 | 61 6e 64 20 6d 61 6e 20 |kefiles |and man |
|000015e0| 70 61 67 65 2e 20 41 64 | 64 65 64 20 73 6f 6d 65 |page. Ad|ded some|
|000015f0| 20 73 63 72 69 70 74 73 | 20 74 6f 20 74 65 73 74 | scripts| to test|
|00001600| 2c 20 64 65 62 75 67 2e | 0a 0a 09 2a 20 63 68 61 |, debug.|...* cha|
|00001610| 6e 67 65 64 20 69 70 63 | 70 2e 63 20 74 6f 20 64 |nged ipc|p.c to d|
|00001620| 65 66 61 75 6c 74 20 74 | 6f 20 6e 65 77 20 52 46 |efault t|o new RF|
|00001630| 43 31 31 33 32 20 74 63 | 70 20 63 6f 6d 70 72 65 |C1132 tc|p compre|
|00001640| 73 73 69 6f 6e 20 63 6f | 64 65 73 2e 0a 0a 09 2a |ssion co|des....*|
|00001650| 20 61 64 64 65 64 20 44 | 54 52 20 72 61 69 73 65 | added D|TR raise|
|00001660| 2f 6c 6f 77 65 72 20 63 | 6f 64 65 20 74 6f 20 68 |/lower c|ode to h|
|00001670| 61 6e 67 75 70 20 74 68 | 65 20 6d 6f 64 65 6d 0a |angup th|e modem.|
|00001680| 0a 09 2a 20 63 68 61 6e | 67 65 64 20 6d 61 69 6e |..* chan|ged main|
|00001690| 2e 63 20 74 6f 20 73 65 | 74 20 62 61 75 64 20 72 |.c to se|t baud r|
|000016a0| 61 74 65 20 62 65 66 6f | 72 65 20 63 61 6c 6c 69 |ate befo|re calli|
|000016b0| 6e 67 20 63 6f 6e 6e 65 | 63 74 20 73 63 72 69 70 |ng conne|ct scrip|
|000016c0| 74 0a 0a 09 2a 20 66 69 | 78 65 64 20 74 68 65 20 |t...* fi|xed the |
|000016d0| 22 73 65 74 73 69 64 28 | 29 22 20 63 6f 64 65 20 |"setsid(|)" code |
|000016e0| 69 6e 20 6d 61 69 6e 2e | 63 20 74 6f 20 77 6f 72 |in main.|c to wor|
|000016f0| 6b 20 75 6e 64 65 72 20 | 33 38 36 42 53 44 0a 09 |k under |386BSD..|
|00001700| 28 62 65 6c 69 65 76 65 | 20 69 74 20 6f 72 20 6e |(believe| it or n|
|00001710| 6f 74 2c 20 74 68 65 20 | 53 75 6e 4f 53 20 73 65 |ot, the |SunOS se|
|00001720| 74 73 69 64 28 29 20 69 | 73 20 6c 61 78 20 61 6e |tsid() i|s lax an|
|00001730| 64 20 77 6f 72 6b 73 20 | 77 68 65 6e 20 77 68 65 |d works |when whe|
|00001740| 6e 0a 09 61 6e 20 50 4f | 53 49 58 20 63 6f 6d 70 |n..an PO|SIX comp|
|00001750| 6c 69 61 6e 74 20 69 6d | 70 6c 65 6d 65 6e 74 61 |liant im|plementa|
|00001760| 74 69 6f 6e 20 28 33 38 | 36 42 53 44 29 20 77 69 |tion (38|6BSD) wi|
|00001770| 6c 6c 20 6e 6f 74 29 2e | 0a 0a 09 2a 20 70 6f 72 |ll not).|...* por|
|00001780| 74 65 64 20 69 66 5f 70 | 70 70 2e 63 20 66 72 6f |ted if_p|pp.c fro|
|00001790| 6d 20 6f 6c 64 20 34 2e | 32 20 74 6f 20 6e 65 77 |m old 4.|2 to new|
|000017a0| 20 22 34 2e 33 2b 22 20 | 75 6e 64 65 72 20 33 38 | "4.3+" |under 38|
|000017b0| 36 42 53 44 2e 20 41 64 | 64 65 64 0a 09 6c 6f 74 |6BSD. Ad|ded..lot|
|000017c0| 73 20 6f 66 20 64 65 62 | 75 67 67 69 6e 67 20 63 |s of deb|ugging c|
|000017d0| 6f 64 65 2e 20 43 68 61 | 6e 67 65 64 20 74 68 65 |ode. Cha|nged the|
|000017e0| 20 6d 62 75 66 20 63 6f | 64 65 20 61 72 6f 75 6e | mbuf co|de aroun|
|000017f0| 64 20 74 6f 20 6d 61 74 | 63 68 20 6e 65 77 0a 09 |d to mat|ch new..|
|00001800| 6d 62 75 66 2e 20 43 68 | 61 6e 67 65 64 20 73 65 |mbuf. Ch|anged se|
|00001810| 72 69 61 6c 20 63 6f 64 | 65 20 74 6f 20 75 73 65 |rial cod|e to use|
|00001820| 20 6e 65 77 20 72 69 6e | 67 20 62 75 66 66 65 72 | new rin|g buffer|
|00001830| 73 2e 20 41 64 64 65 64 | 20 56 4a 20 74 63 70 0a |s. Added| VJ tcp.|
|00001840| 09 63 6f 6d 70 72 65 73 | 73 69 6f 6e 20 63 6f 64 |.compres|sion cod|
|00001850| 65 2e 20 20 43 6c 65 61 | 6e 65 64 20 75 70 20 69 |e. Clea|ned up i|
|00001860| 6f 63 74 6c 73 20 74 6f | 20 62 65 20 61 20 62 69 |octls to| be a bi|
|00001870| 74 20 6d 6f 72 65 20 63 | 6f 6e 73 69 73 74 61 6e |t more c|onsistan|
|00001880| 74 2e 0a 0a 53 75 6e 20 | 4a 75 6e 20 31 34 20 30 |t...Sun |Jun 14 0|
|00001890| 35 3a 34 39 3a 32 37 20 | 31 39 39 32 20 20 42 72 |5:49:27 |1992 Br|
|000018a0| 61 64 20 50 61 72 6b 65 | 72 20 20 28 62 72 61 64 |ad Parke|r (brad|
|000018b0| 40 6a 6f 73 74 29 0a 0a | 09 2a 20 73 74 61 72 74 |@jost)..|.* start|
|000018c0| 65 64 20 77 69 74 68 20 | 70 70 70 64 2d 31 2e 30 |ed with |pppd-1.0|
|000018d0| 31 62 65 74 61 2c 20 72 | 65 6f 72 69 67 61 6e 69 |1beta, r|eorigani|
|000018e0| 7a 65 64 20 74 68 65 20 | 64 69 72 20 74 72 65 65 |zed the |dir tree|
|000018f0| 0a 09 72 65 6d 6f 76 65 | 64 20 61 6c 6c 20 72 65 |..remove|d all re|
|00001900| 66 65 72 65 6e 63 65 73 | 20 74 6f 20 53 54 52 45 |ferences| to STRE|
|00001910| 41 4d 53 0a 09 63 68 61 | 6e 67 65 64 20 22 73 6c |AMS..cha|nged "sl|
|00001920| 73 74 61 74 73 22 20 69 | 6e 74 6f 20 22 70 70 70 |stats" i|nto "ppp|
|00001930| 73 74 61 74 73 22 2c 20 | 75 73 69 6e 67 20 6b 76 |stats", |using kv|
|00001940| 6d 5f 78 78 78 78 20 72 | 6f 75 74 69 6e 65 73 0a |m_xxxx r|outines.|
|00001950| 09 63 72 65 61 74 65 64 | 20 22 70 70 70 2e 68 22 |.created| "ppp.h"|
|00001960| 20 61 6e 64 20 22 70 70 | 70 64 2e 68 22 20 61 73 | and "pp|pd.h" as|
|00001970| 20 73 65 70 61 72 61 74 | 65 20 68 65 61 64 65 72 | separat|e header|
|00001980| 20 66 69 6c 65 73 0a 0a | 46 72 69 20 4a 61 6e 20 | files..|Fri Jan |
|00001990| 33 31 20 31 35 3a 31 38 | 3a 32 31 20 31 39 39 32 |31 15:18|:21 1992|
|000019a0| 20 20 47 72 65 67 20 43 | 68 72 69 73 74 79 20 20 | Greg C|hristy |
|000019b0| 28 67 6d 63 20 61 74 20 | 70 72 65 6d 69 73 65 73 |(gmc at |premises|
|000019c0| 31 2e 51 75 6f 74 72 6f | 6e 2e 43 4f 4d 29 0a 0a |1.Quotro|n.COM)..|
|000019d0| 09 2a 20 52 65 6c 65 61 | 73 65 20 31 2e 30 31 62 |.* Relea|se 1.01b|
|000019e0| 65 74 61 0a 0a 09 2a 20 | 46 69 78 20 74 79 70 6f |eta...* |Fix typo|
|000019f0| 20 69 6e 20 63 68 61 74 | 2e 63 2e 0a 0a 09 2a 20 | in chat|.c....* |
|00001a00| 52 65 6e 61 6d 65 20 70 | 70 70 2e 38 20 74 6f 20 |Rename p|pp.8 to |
|00001a10| 70 70 70 64 2e 38 2e 0a | 0a 54 68 75 20 4a 61 6e |pppd.8..|.Thu Jan|
|00001a20| 20 33 30 20 31 35 3a 32 | 37 3a 30 33 20 31 39 39 | 30 15:2|7:03 199|
|00001a30| 32 20 20 47 72 65 67 20 | 43 68 72 69 73 74 79 20 |2 Greg |Christy |
|00001a40| 20 28 67 6d 63 20 61 74 | 20 70 72 65 6d 69 73 65 | (gmc at| premise|
|00001a50| 73 31 2e 51 75 6f 74 72 | 6f 6e 2e 43 4f 4d 29 0a |s1.Quotr|on.COM).|
|00001a60| 0a 09 2a 20 52 65 6c 65 | 61 73 65 20 31 2e 30 62 |..* Rele|ase 1.0b|
|00001a70| 65 74 61 0a 0a 09 2a 20 | 55 70 64 61 74 65 20 70 |eta...* |Update p|
|00001a80| 70 70 2e 38 2c 20 52 65 | 61 64 6d 65 2e 73 74 72 |pp.8, Re|adme.str|
|00001a90| 65 61 6d 73 2c 20 61 6e | 64 20 4d 61 6b 65 66 69 |eams, an|d Makefi|
|00001aa0| 6c 65 20 66 6f 72 20 72 | 65 6c 65 61 73 65 2e 0a |le for r|elease..|
|00001ab0| 0a 09 2a 20 63 68 61 6e | 67 65 64 20 50 50 50 5f |..* chan|ged PPP_|
|00001ac0| 4c 4f 47 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 74 |LOG defi|nition t|
|00001ad0| 6f 20 62 65 20 4c 4f 47 | 5f 44 41 45 4d 4f 4e 20 |o be LOG|_DAEMON |
|00001ae0| 75 6e 6c 65 73 73 20 61 | 6e 79 20 64 65 62 75 67 |unless a|ny debug|
|00001af0| 0a 09 63 6f 64 65 20 69 | 73 20 74 75 72 6e 65 64 |..code i|s turned|
|00001b00| 20 6f 6e 2c 20 74 68 65 | 6e 20 69 74 73 20 4c 4f | on, the|n its LO|
|00001b10| 47 5f 4c 4f 43 41 4c 32 | 0a 0a 57 65 64 20 4a 61 |G_LOCAL2|..Wed Ja|
|00001b20| 6e 20 32 39 20 31 30 3a | 32 38 3a 32 38 20 31 39 |n 29 10:|28:28 19|
|00001b30| 39 32 20 20 47 72 65 67 | 20 43 68 72 69 73 74 79 |92 Greg| Christy|
|00001b40| 20 20 28 67 6d 63 20 61 | 74 20 70 72 65 6d 69 73 | (gmc a|t premis|
|00001b50| 65 73 31 2e 51 75 6f 74 | 72 6f 6e 2e 43 4f 4d 29 |es1.Quot|ron.COM)|
|00001b60| 0a 0a 09 2a 20 6d 61 69 | 6e 2e 63 2c 20 70 70 70 |...* mai|n.c, ppp|
|00001b70| 2e 68 2c 20 6c 63 70 2e | 63 2c 20 69 70 63 70 2e |.h, lcp.|c, ipcp.|
|00001b80| 63 3a 20 66 69 78 65 64 | 20 70 72 6f 62 6c 65 6d |c: fixed| problem|
|00001b90| 20 77 69 74 68 20 72 6f | 75 74 65 20 64 65 6c 65 | with ro|ute dele|
|00001ba0| 74 69 6f 6e 0a 09 6f 6e | 20 68 61 6e 67 75 70 0a |tion..on| hangup.|
|00001bb0| 0a 09 2a 20 6d 61 69 6e | 2e 63 3a 20 20 63 68 61 |..* main|.c: cha|
|00001bc0| 6e 67 65 64 20 63 6f 64 | 65 20 66 6f 72 20 6f 62 |nged cod|e for ob|
|00001bd0| 74 61 69 6e 69 6e 67 20 | 72 65 6d 6f 74 65 20 75 |taining |remote u|
|00001be0| 73 65 72 2f 70 61 73 73 | 77 64 20 66 72 6f 6d 20 |ser/pass|wd from |
|00001bf0| 61 0a 09 75 73 65 72 2d | 73 70 65 63 69 66 69 65 |a..user-|specifie|
|00001c00| 64 20 66 69 6c 65 20 69 | 6e 73 74 65 61 64 20 6f |d file i|nstead o|
|00001c10| 66 20 73 74 64 69 6e 0a | 0a 09 2a 20 6d 61 69 6e |f stdin.|..* main|
|00001c20| 2e 63 3a 20 20 41 64 64 | 65 64 20 63 6f 64 65 20 |.c: Add|ed code |
|00001c30| 74 6f 20 69 6f 28 29 20 | 74 6f 20 69 67 6e 6f 72 |to io() |to ignor|
|00001c40| 65 20 6e 6f 6e 2d 69 6e | 70 75 74 20 72 65 61 64 |e non-in|put read|
|00001c50| 79 20 53 49 47 49 4f 27 | 73 0a 0a 09 2a 20 70 70 |y SIGIO'|s...* pp|
|00001c60| 70 5f 61 73 79 6e 63 2e | 63 3a 20 66 69 78 65 64 |p_async.|c: fixed|
|00001c70| 20 62 75 67 20 72 65 70 | 6f 72 74 65 64 20 62 79 | bug rep|orted by|
|00001c80| 20 4d 61 72 63 20 42 6f | 63 68 65 72 20 28 6d 61 | Marc Bo|cher (ma|
|00001c90| 72 63 40 63 61 6d 2e 6f | 72 67 29 20 69 6e 0a 09 |rc@cam.o|rg) in..|
|00001ca0| 49 4e 50 55 54 5f 45 52 | 52 4f 52 20 6d 61 63 72 |INPUT_ER|ROR macr|
|00001cb0| 6f 20 74 68 61 74 20 73 | 65 6e 74 20 49 46 5f 49 |o that s|ent IF_I|
|00001cc0| 4e 50 55 54 5f 45 52 52 | 4f 52 73 20 69 6e 20 74 |NPUT_ERR|ORs in t|
|00001cd0| 68 65 20 77 72 6f 6e 67 | 20 64 69 72 65 63 74 69 |he wrong| directi|
|00001ce0| 6f 6e 2e 0a 0a 54 68 75 | 20 4a 61 6e 20 32 33 20 |on...Thu| Jan 23 |
|00001cf0| 31 33 3a 31 36 3a 33 34 | 20 31 39 39 32 20 20 47 |13:16:34| 1992 G|
|00001d00| 72 65 67 20 43 68 72 69 | 73 74 79 20 20 28 67 6d |reg Chri|sty (gm|
|00001d10| 63 20 61 74 20 70 72 65 | 6d 69 73 65 73 31 2e 51 |c at pre|mises1.Q|
|00001d20| 75 6f 74 72 6f 6e 2e 43 | 4f 4d 29 0a 09 2a 20 6d |uotron.C|OM)..* m|
|00001d30| 61 69 6e 2e 63 3a 20 66 | 69 78 65 64 20 70 69 64 |ain.c: f|ixed pid|
|00001d40| 20 66 69 6c 65 20 63 6f | 64 65 20 74 6f 20 72 65 | file co|de to re|
|00001d50| 6d 6f 76 65 20 66 69 6c | 65 20 6f 6e 20 65 78 69 |move fil|e on exi|
|00001d60| 74 0a 0a 09 2a 20 6d 61 | 69 6e 2e 63 2c 20 69 70 |t...* ma|in.c, ip|
|00001d70| 63 70 2e 63 2c 20 70 70 | 70 2e 68 3a 20 41 64 64 |cp.c, pp|p.h: Add|
|00001d80| 65 64 20 73 75 70 70 6f | 72 74 20 66 6f 72 20 61 |ed suppo|rt for a|
|00001d90| 6c 6c 6f 77 69 6e 67 20 | 61 20 75 73 65 72 20 74 |llowing |a user t|
|00001da0| 6f 20 73 65 74 0a 09 74 | 68 65 20 6e 65 74 6d 61 |o set..t|he netma|
|00001db0| 73 6b 20 6f 6e 20 74 68 | 65 20 70 70 70 20 69 6e |sk on th|e ppp in|
|00001dc0| 74 65 72 66 61 63 65 2e | 20 20 54 68 61 6e 6b 73 |terface.| Thanks|
|00001dd0| 20 74 6f 20 42 72 61 64 | 20 50 61 72 6b 65 72 0a | to Brad| Parker.|
|00001de0| 09 28 62 72 61 64 40 63 | 61 79 6d 61 6e 2e 63 6f |.(brad@c|ayman.co|
|00001df0| 6d 29 20 66 6f 72 20 74 | 68 65 20 53 49 46 4d 41 |m) for t|he SIFMA|
|00001e00| 53 4b 20 63 6f 64 65 2e | 0a 0a 57 65 64 20 4a 61 |SK code.|..Wed Ja|
|00001e10| 6e 20 31 35 20 32 33 3a | 35 30 3a 32 32 20 31 39 |n 15 23:|50:22 19|
|00001e20| 39 32 20 20 47 72 65 67 | 20 43 68 72 69 73 74 79 |92 Greg| Christy|
|00001e30| 20 20 28 67 6d 63 20 61 | 74 20 70 72 65 6d 69 73 | (gmc a|t premis|
|00001e40| 65 73 31 2e 51 75 6f 74 | 72 6f 6e 2e 43 4f 4d 29 |es1.Quot|ron.COM)|
|00001e50| 0a 0a 09 2a 20 70 70 70 | 2e 68 3a 20 20 61 64 64 |...* ppp|.h: add|
|00001e60| 20 6d 75 6c 74 69 2d 69 | 6e 63 6c 75 64 65 20 70 | multi-i|nclude p|
|00001e70| 72 6f 74 65 63 74 69 6f | 6e 2c 20 61 64 64 20 64 |rotectio|n, add d|
|00001e80| 65 66 69 6e 69 74 69 6f | 6e 20 66 6f 72 20 4c 4f |efinitio|n for LO|
|00001e90| 47 5f 50 50 50 0a 09 28 | 64 65 66 61 75 6c 74 73 |G_PPP..(|defaults|
|00001ea0| 20 74 6f 20 4c 4f 47 5f | 4c 4f 43 41 4c 32 29 0a | to LOG_|LOCAL2).|
|00001eb0| 0a 09 2a 20 6d 61 69 6e | 2e 63 3a 20 63 68 61 6e |..* main|.c: chan|
|00001ec0| 67 65 20 73 79 73 6c 6f | 67 20 64 65 73 74 69 6e |ge syslo|g destin|
|00001ed0| 61 74 69 6f 6e 20 74 6f | 20 4c 4f 47 5f 50 50 50 |ation to| LOG_PPP|
|00001ee0| 0a 0a 54 75 65 20 4a 61 | 6e 20 31 34 20 31 37 3a |..Tue Ja|n 14 17:|
|00001ef0| 30 31 3a 35 36 20 31 39 | 39 32 20 20 47 72 65 67 |01:56 19|92 Greg|
|00001f00| 20 43 68 72 69 73 74 79 | 20 20 28 67 6d 63 20 61 | Christy| (gmc a|
|00001f10| 74 20 70 72 65 6d 69 73 | 65 73 31 2e 51 75 6f 74 |t premis|es1.Quot|
|00001f20| 72 6f 6e 2e 43 4f 4d 29 | 0a 0a 09 2a 20 6d 61 69 |ron.COM)|...* mai|
|00001f30| 6e 2e 63 2c 20 6c 63 70 | 2e 63 2c 20 66 73 6d 2e |n.c, lcp|.c, fsm.|
|00001f40| 63 2c 20 63 68 61 70 2e | 63 2c 20 75 70 61 70 2e |c, chap.|c, upap.|
|00001f50| 63 2c 20 69 70 63 70 2e | 63 3a 20 20 63 68 61 6e |c, ipcp.|c: chan|
|00001f60| 67 65 64 20 64 65 62 75 | 67 0a 09 63 6f 64 65 20 |ged debu|g..code |
|00001f70| 74 6f 20 75 73 65 20 73 | 79 73 6c 6f 67 20 69 6e |to use s|yslog in|
|00001f80| 73 74 65 61 64 20 6f 66 | 20 73 74 64 65 72 72 0a |stead of| stderr.|
|00001f90| 0a 46 72 69 20 4a 61 6e | 20 31 30 20 30 31 3a 35 |.Fri Jan| 10 01:5|
|00001fa0| 39 3a 30 33 20 31 39 39 | 32 20 20 47 72 65 67 20 |9:03 199|2 Greg |
|00001fb0| 43 68 72 69 73 74 79 20 | 20 28 67 6d 63 20 61 74 |Christy | (gmc at|
|00001fc0| 20 70 72 65 6d 69 73 65 | 73 31 2e 51 75 6f 74 72 | premise|s1.Quotr|
|00001fd0| 6f 6e 2e 43 4f 4d 29 0a | 0a 09 2a 20 6d 61 69 6e |on.COM).|..* main|
|00001fe0| 2e 63 2c 20 66 73 6d 2e | 63 2c 20 63 68 61 70 2e |.c, fsm.|c, chap.|
|00001ff0| 63 2c 20 75 70 61 70 2e | 63 3a 20 67 6f 74 20 72 |c, upap.|c: got r|
|00002000| 69 64 20 6f 66 20 70 61 | 63 6b 65 74 20 62 75 66 |id of pa|cket buf|
|00002010| 66 65 72 20 6d 65 6d 6f | 72 79 0a 09 61 6c 6c 6f |fer memo|ry..allo|
|00002020| 63 61 74 69 6f 6e 2f 66 | 72 65 65 69 6e 67 20 69 |cation/f|reeing i|
|00002030| 6e 20 66 61 76 6f 72 20 | 6f 66 20 66 69 78 65 64 |n favor |of fixed|
|00002040| 20 69 6e 70 75 74 20 61 | 6e 64 20 6f 75 74 70 75 | input a|nd outpu|
|00002050| 74 20 62 75 66 66 65 72 | 73 2e 0a 0a 54 68 75 20 |t buffer|s...Thu |
|00002060| 4a 61 6e 20 20 39 20 31 | 36 3a 34 34 3a 32 37 20 |Jan 9 1|6:44:27 |
|00002070| 31 39 39 32 20 20 47 72 | 65 67 20 43 68 72 69 73 |1992 Gr|eg Chris|
|00002080| 74 79 20 20 28 67 6d 63 | 20 61 74 20 70 72 65 6d |ty (gmc| at prem|
|00002090| 69 73 65 73 31 2e 51 75 | 6f 74 72 6f 6e 2e 43 4f |ises1.Qu|otron.CO|
|000020a0| 4d 29 0a 0a 09 2a 20 73 | 6c 73 74 61 74 73 2e 63 |M)...* s|lstats.c|
|000020b0| 3a 20 41 64 64 65 64 20 | 23 69 66 64 65 66 20 66 |: Added |#ifdef f|
|000020c0| 6f 72 20 73 75 6e 33 78 | 20 74 6f 20 75 73 65 20 |or sun3x| to use |
|000020d0| 70 74 65 5f 70 66 6e 20 | 69 6e 73 74 65 61 64 20 |pte_pfn |instead |
|000020e0| 6f 66 0a 09 70 67 5f 70 | 66 6e 75 6d 20 69 6e 20 |of..pg_p|fnum in |
|000020f0| 6b 6c 73 65 65 6b 28 29 | 2e 20 20 54 68 61 6e 6b |klseek()|. Thank|
|00002100| 73 20 74 6f 20 57 69 6c | 6c 69 61 6d 20 4b 6f 72 |s to Wil|liam Kor|
|00002110| 62 0a 09 28 6b 6f 72 62 | 40 6d 75 73 74 61 6e 67 |b..(korb|@mustang|
|00002120| 2e 63 72 61 79 2e 63 6f | 6d 29 20 66 6f 72 20 74 |.cray.co|m) for t|
|00002130| 68 65 20 66 69 78 2e 0a | 0a 53 75 6e 20 4a 61 6e |he fix..|.Sun Jan|
|00002140| 20 20 35 20 31 36 3a 33 | 34 3a 35 35 20 31 39 39 | 5 16:3|4:55 199|
|00002150| 32 20 20 47 72 65 67 20 | 43 68 72 69 73 74 79 20 |2 Greg |Christy |
|00002160| 20 28 67 6d 63 20 61 74 | 20 70 72 65 6d 69 73 65 | (gmc at| premise|
|00002170| 73 31 2e 51 75 6f 74 72 | 6f 6e 2e 43 4f 4d 29 0a |s1.Quotr|on.COM).|
|00002180| 0a 09 2a 20 70 70 70 5f | 61 73 79 6e 63 2e 63 3a |..* ppp_|async.c:|
|00002190| 20 63 68 61 6e 67 65 64 | 20 74 68 65 20 69 6e 70 | changed| the inp|
|000021a0| 75 74 5f 64 65 62 75 67 | 20 63 6f 64 65 20 74 6f |ut_debug| code to|
|000021b0| 20 75 73 65 20 74 68 65 | 20 76 61 6c 75 65 20 6f | use the| value o|
|000021c0| 66 0a 09 70 70 70 5f 61 | 73 79 6e 63 5f 69 6e 70 |f..ppp_a|sync_inp|
|000021d0| 75 74 5f 64 65 62 75 67 | 20 66 6f 72 20 74 68 65 |ut_debug| for the|
|000021e0| 20 6d 61 78 69 6d 75 6d | 20 6e 75 6d 62 65 72 20 | maximum| number |
|000021f0| 6f 66 20 62 79 74 65 73 | 20 74 6f 20 64 75 6d 70 |of bytes| to dump|
|00002200| 2e 0a 09 49 2e 65 2e 2c | 20 69 66 20 70 70 70 5f |...I.e.,| if ppp_|
|00002210| 61 73 79 6e 63 5f 64 65 | 62 75 67 20 69 73 20 7a |async_de|bug is z|
|00002220| 65 72 6f 2c 20 6e 6f 74 | 68 69 6e 67 20 69 73 20 |ero, not|hing is |
|00002230| 64 75 6d 70 65 64 2c 20 | 69 66 20 69 74 20 69 73 |dumped, |if it is|
|00002240| 0a 09 31 35 30 30 2c 20 | 75 70 20 74 6f 20 31 35 |..1500, |up to 15|
|00002250| 30 30 20 62 79 74 65 73 | 20 61 72 65 20 64 75 6d |00 bytes| are dum|
|00002260| 70 65 64 2e 0a 0a 53 75 | 6e 20 44 65 63 20 31 35 |ped...Su|n Dec 15|
|00002270| 20 32 33 3a 30 33 3a 32 | 33 20 31 39 39 31 20 20 | 23:03:2|3 1991 |
|00002280| 47 72 65 67 20 43 68 72 | 69 73 74 79 20 20 28 67 |Greg Chr|isty (g|
|00002290| 6d 63 20 61 74 20 70 72 | 65 6d 69 73 65 73 31 2e |mc at pr|emises1.|
|000022a0| 51 75 6f 74 72 6f 6e 2e | 43 4f 4d 29 0a 0a 09 2a |Quotron.|COM)...*|
|000022b0| 20 63 68 61 70 2e 63 3a | 20 69 73 20 64 6f 6e 65 | chap.c:| is done|
|000022c0| 21 20 2e 2e 2e 20 62 75 | 74 20 64 6f 65 73 20 69 |! ... bu|t does i|
|000022d0| 74 20 77 6f 72 6b 3f 0a | 0a 54 75 65 20 44 65 63 |t work?.|.Tue Dec|
|000022e0| 20 31 30 20 32 32 3a 30 | 34 3a 30 32 20 31 39 39 | 10 22:0|4:02 199|
|000022f0| 31 20 20 47 72 65 67 20 | 43 68 72 69 73 74 79 20 |1 Greg |Christy |
|00002300| 20 28 67 6d 63 20 61 74 | 20 70 72 65 6d 69 73 65 | (gmc at| premise|
|00002310| 73 31 2e 51 75 6f 74 72 | 6f 6e 2e 43 4f 4d 29 0a |s1.Quotr|on.COM).|
|00002320| 0a 09 2a 20 6d 61 69 6e | 2e 63 3a 20 61 64 64 65 |..* main|.c: adde|
|00002330| 64 20 63 6f 64 65 20 74 | 6f 20 67 65 74 20 68 6f |d code t|o get ho|
|00002340| 73 74 20 6e 61 6d 65 20 | 74 6f 20 75 73 65 20 66 |st name |to use f|
|00002350| 6f 72 20 61 75 74 68 65 | 6e 74 69 63 61 74 69 6f |or authe|nticatio|
|00002360| 6e 20 22 6e 61 6d 65 22 | 2c 0a 09 61 6c 73 6f 20 |n "name"|,..also |
|00002370| 61 64 64 65 64 20 61 20 | 6e 65 77 20 63 6f 6d 6d |added a |new comm|
|00002380| 61 6e 64 20 22 64 6f 6d | 61 69 6e 22 20 77 68 69 |and "dom|ain" whi|
|00002390| 63 68 20 77 69 6c 6c 20 | 61 70 70 65 6e 64 20 74 |ch will |append t|
|000023a0| 68 65 20 67 69 76 65 6e | 0a 09 73 74 72 69 6e 67 |he given|..string|
|000023b0| 20 74 6f 20 74 68 65 20 | 68 6f 73 74 6e 61 6d 65 | to the |hostname|
|000023c0| 2c 20 69 2e 65 2e 2c 20 | 66 6f 6f 20 2d 3e 20 66 |, i.e., |foo -> f|
|000023d0| 6f 6f 2e 63 79 62 65 72 | 64 79 6e 65 2e 63 6f 6d |oo.cyber|dyne.com|
|000023e0| 0a 0a 53 75 6e 20 44 65 | 63 20 20 38 20 32 30 3a |..Sun De|c 8 20:|
|000023f0| 35 30 3a 35 38 20 31 39 | 39 31 20 20 47 72 65 67 |50:58 19|91 Greg|
|00002400| 20 43 68 72 69 73 74 79 | 20 20 28 67 6d 63 20 61 | Christy| (gmc a|
|00002410| 74 20 70 72 65 6d 69 73 | 65 73 31 2e 51 75 6f 74 |t premis|es1.Quot|
|00002420| 72 6f 6e 2e 43 4f 4d 29 | 0a 0a 09 2a 20 6d 61 69 |ron.COM)|...* mai|
|00002430| 6e 2e 63 3a 20 63 68 61 | 6e 67 65 64 20 63 6f 64 |n.c: cha|nged cod|
|00002440| 65 20 74 6f 20 63 61 6c | 6c 20 63 6c 65 61 6e 75 |e to cal|l cleanu|
|00002450| 70 28 29 20 6f 6e 20 65 | 78 69 74 20 77 68 69 63 |p() on e|xit whic|
|00002460| 68 20 73 68 6f 75 6c 64 | 0a 09 74 72 79 20 74 6f |h should|..try to|
|00002470| 20 64 6f 20 61 20 67 72 | 61 63 65 66 75 6c 20 73 | do a gr|aceful s|
|00002480| 68 75 74 64 6f 77 6e 2e | 0a 0a 09 2a 20 6d 61 69 |hutdown.|...* mai|
|00002490| 6e 2e 63 3a 20 66 69 78 | 65 64 20 73 70 75 72 69 |n.c: fix|ed spuri|
|000024a0| 6f 75 73 20 49 5f 46 4c | 55 53 48 20 65 72 72 6f |ous I_FL|USH erro|
|000024b0| 72 20 6c 6f 67 67 69 6e | 67 20 70 72 6f 62 6c 65 |r loggin|g proble|
|000024c0| 6d 20 64 75 72 69 6e 67 | 20 71 75 69 74 2e 0a 09 |m during| quit...|
|000024d0| 49 5f 46 4c 55 53 48 20 | 73 68 6f 75 6c 64 20 72 |I_FLUSH |should r|
|000024e0| 65 74 75 72 6e 20 45 4e | 58 49 4f 20 69 66 20 63 |eturn EN|XIO if c|
|000024f0| 61 72 72 69 65 72 20 69 | 73 20 67 6f 6e 65 2c 20 |arrier i|s gone, |
|00002500| 62 75 74 2c 20 64 75 65 | 20 74 6f 20 61 0a 09 74 |but, due| to a..t|
|00002510| 79 70 6f 2c 20 72 65 74 | 75 72 6e 73 20 45 49 4e |ypo, ret|urns EIN|
|00002520| 56 41 4c 20 69 6e 73 74 | 65 61 64 2e 20 20 54 68 |VAL inst|ead. Th|
|00002530| 61 6e 6b 73 20 74 6f 20 | 47 72 65 67 20 4f 6e 75 |anks to |Greg Onu|
|00002540| 66 65 72 0a 09 28 65 78 | 6f 64 75 73 40 63 68 65 |fer..(ex|odus@che|
|00002550| 65 72 73 2e 65 6e 67 2e | 73 75 6e 2e 63 6f 6d 29 |ers.eng.|sun.com)|
|00002560| 20 66 6f 72 20 74 68 65 | 20 69 6e 66 6f 2e 0a 0a | for the| info...|
|00002570| 54 75 65 20 44 65 63 20 | 20 33 20 31 30 3a 32 39 |Tue Dec | 3 10:29|
|00002580| 3a 32 36 20 31 39 39 31 | 20 20 47 72 65 67 20 43 |:26 1991| Greg C|
|00002590| 68 72 69 73 74 79 20 20 | 28 67 6d 63 20 61 74 20 |hristy |(gmc at |
|000025a0| 70 72 65 6d 69 73 65 73 | 31 2e 51 75 6f 74 72 6f |premises|1.Quotro|
|000025b0| 6e 2e 43 4f 4d 29 0a 0a | 09 2a 20 6d 61 69 6e 2e |n.COM)..|.* main.|
|000025c0| 63 3a 20 61 64 64 20 74 | 79 70 65 64 65 66 20 66 |c: add t|ypedef f|
|000025d0| 6f 72 20 70 69 64 5f 74 | 20 66 6f 72 20 53 55 4e |or pid_t| for SUN|
|000025e0| 4f 53 20 76 65 72 73 69 | 6f 6e 73 20 70 72 69 6f |OS versi|ons prio|
|000025f0| 72 20 74 6f 20 34 2e 31 | 0a 0a 57 65 64 20 4e 6f |r to 4.1|..Wed No|
|00002600| 76 20 32 30 20 31 34 3a | 33 37 3a 35 32 20 31 39 |v 20 14:|37:52 19|
|00002610| 39 31 20 20 47 72 65 67 | 20 43 68 72 69 73 74 79 |91 Greg| Christy|
|00002620| 20 20 28 67 6d 63 20 61 | 74 20 70 72 65 6d 69 73 | (gmc a|t premis|
|00002630| 65 73 31 2e 51 75 6f 74 | 72 6f 6e 2e 43 4f 4d 29 |es1.Quot|ron.COM)|
|00002640| 0a 0a 09 2a 20 6c 63 70 | 2e 63 3a 20 66 69 6e 69 |...* lcp|.c: fini|
|00002650| 73 68 65 64 20 61 64 64 | 69 6e 67 20 63 68 61 70 |shed add|ing chap|
|00002660| 20 73 74 75 66 66 20 74 | 6f 20 6c 63 70 2e 63 2c | stuff t|o lcp.c,|
|00002670| 20 6e 6f 77 20 6f 6e 74 | 6f 20 63 68 61 70 2e 63 | now ont|o chap.c|
|00002680| 0a 0a 4d 6f 6e 20 4e 6f | 76 20 20 34 20 31 31 3a |..Mon No|v 4 11:|
|00002690| 34 32 3a 33 30 20 31 39 | 39 31 20 20 47 72 65 67 |42:30 19|91 Greg|
|000026a0| 20 43 68 72 69 73 74 79 | 20 20 28 67 6d 63 20 61 | Christy| (gmc a|
|000026b0| 74 20 70 72 65 6d 69 73 | 65 73 31 2e 51 75 6f 74 |t premis|es1.Quot|
|000026c0| 72 6f 6e 2e 43 4f 4d 29 | 0a 0a 09 2a 20 70 70 70 |ron.COM)|...* ppp|
|000026d0| 5f 61 73 79 6e 63 2e 63 | 3a 20 61 64 64 65 64 20 |_async.c|: added |
|000026e0| 68 65 78 20 66 72 61 6d | 65 2d 6c 65 76 65 6c 20 |hex fram|e-level |
|000026f0| 64 75 6d 70 20 74 6f 20 | 70 70 70 5f 61 73 79 6e |dump to |ppp_asyn|
|00002700| 63 2e 63 2e 0a 09 74 68 | 69 73 20 69 73 20 65 6e |c.c...th|is is en|
|00002710| 61 62 6c 65 64 20 62 79 | 20 73 65 74 74 69 6e 67 |abled by| setting|
|00002720| 20 74 68 65 20 6b 65 72 | 6e 65 6c 20 76 61 72 69 | the ker|nel vari|
|00002730| 61 62 6c 65 0a 09 70 70 | 70 5f 61 73 79 6e 63 5f |able..pp|p_async_|
|00002740| 69 6e 70 75 74 5f 64 65 | 62 75 67 20 74 6f 20 61 |input_de|bug to a|
|00002750| 20 6e 6f 6e 2d 7a 65 72 | 6f 20 76 61 6c 75 65 2e | non-zer|o value.|
|00002760| 20 0a 0a 0a 57 65 64 20 | 4f 63 74 20 33 30 20 31 | ...Wed |Oct 30 1|
|00002770| 36 3a 35 38 3a 31 38 20 | 31 39 39 31 20 20 47 72 |6:58:18 |1991 Gr|
|00002780| 65 67 20 43 68 72 69 73 | 74 79 20 20 28 67 6d 63 |eg Chris|ty (gmc|
|00002790| 20 61 74 20 70 72 65 6d | 69 73 65 73 31 2e 51 75 | at prem|ises1.Qu|
|000027a0| 6f 74 72 6f 6e 2e 43 4f | 4d 29 0a 0a 09 2a 20 66 |otron.CO|M)...* f|
|000027b0| 73 6d 2e 5b 63 68 5d 2c | 20 69 70 63 70 2e 5b 63 |sm.[ch],| ipcp.[c|
|000027c0| 68 5d 2c 20 75 70 61 70 | 2e 5b 63 68 5d 3a 20 61 |h], upap|.[ch]: a|
|000027d0| 64 64 65 64 20 70 72 6f | 74 6f 74 79 70 65 73 20 |dded pro|totypes |
|000027e0| 61 6e 64 20 66 69 78 65 | 64 20 73 63 6f 70 69 6e |and fixe|d scopin|
|000027f0| 67 20 0a 0a 4d 6f 6e 20 | 4f 63 74 20 32 38 20 31 |g ..Mon |Oct 28 1|
|00002800| 37 3a 34 32 3a 34 37 20 | 31 39 39 31 20 20 47 72 |7:42:47 |1991 Gr|
|00002810| 65 67 20 43 68 72 69 73 | 74 79 20 20 28 67 6d 63 |eg Chris|ty (gmc|
|00002820| 20 61 74 20 70 72 65 6d | 69 73 65 73 31 2e 51 75 | at prem|ises1.Qu|
|00002830| 6f 74 72 6f 6e 2e 43 4f | 4d 29 0a 0a 09 2a 20 70 |otron.CO|M)...* p|
|00002840| 70 70 2e 68 2c 20 6d 61 | 69 6e 2e 63 2c 20 6d 61 |pp.h, ma|in.c, ma|
|00002850| 67 69 63 2e 5b 63 68 5d | 2c 20 6c 63 70 2e 5b 63 |gic.[ch]|, lcp.[c|
|00002860| 68 5d 3a 20 61 64 64 65 | 64 20 70 72 6f 74 6f 74 |h]: adde|d protot|
|00002870| 79 70 65 73 20 61 6e 64 | 0a 09 66 69 78 65 64 20 |ypes and|..fixed |
|00002880| 73 63 6f 70 69 6e 67 20 | 20 0a 0a 46 72 69 20 4f |scoping | ..Fri O|
|00002890| 63 74 20 32 35 20 31 32 | 3a 31 37 3a 35 33 20 31 |ct 25 12|:17:53 1|
|000028a0| 39 39 31 20 20 47 72 65 | 67 20 43 68 72 69 73 74 |991 Gre|g Christ|
|000028b0| 79 20 20 28 67 6d 63 20 | 61 74 20 70 72 65 6d 69 |y (gmc |at premi|
|000028c0| 73 65 73 31 2e 51 75 6f | 74 72 6f 6e 2e 43 4f 4d |ses1.Quo|tron.COM|
|000028d0| 29 0a 09 2a 20 72 65 6e | 61 6d 65 20 65 78 65 63 |)..* ren|ame exec|
|000028e0| 75 74 61 62 6c 65 20 66 | 72 6f 6d 20 22 70 70 70 |utable f|rom "ppp|
|000028f0| 22 20 74 6f 20 22 70 70 | 70 64 22 20 61 6e 64 20 |" to "pp|pd" and |
|00002900| 22 70 70 70 2e 63 22 20 | 74 6f 20 22 6d 61 69 6e |"ppp.c" |to "main|
|00002910| 2e 63 22 0a 0a 09 2a 20 | 6d 61 69 6e 2e 63 3a 20 |.c"...* |main.c: |
|00002920| 61 64 64 65 64 20 22 63 | 6f 6e 6e 65 63 74 22 20 |added "c|onnect" |
|00002930| 6f 70 74 69 6f 6e 20 74 | 6f 20 69 6e 76 6f 6b 65 |option t|o invoke|
|00002940| 20 61 20 73 68 65 6c 6c | 20 61 73 20 74 68 65 20 | a shell| as the |
|00002950| 72 65 61 6c 20 75 69 64 | 20 77 69 74 68 0a 09 74 |real uid| with..t|
|00002960| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 63 6f 6d |he speci|fied com|
|00002970| 6d 61 6e 64 2e 20 20 74 | 68 69 73 20 69 73 20 75 |mand. t|his is u|
|00002980| 73 65 66 75 6c 20 66 6f | 72 20 69 6e 76 6f 6b 69 |seful fo|r invoki|
|00002990| 6e 67 20 74 68 65 20 22 | 63 68 61 74 22 0a 09 70 |ng the "|chat"..p|
|000029a0| 72 6f 67 72 61 6d 20 64 | 69 72 65 63 74 6c 79 20 |rogram d|irectly |
|000029b0| 66 72 6f 6d 20 70 70 70 | 64 2e 0a 0a 09 2a 20 6c |from ppp|d....* l|
|000029c0| 6f 63 61 6c 6c 79 20 73 | 63 6f 70 65 64 20 6d 61 |ocally s|coped ma|
|000029d0| 6e 79 20 66 75 6e 63 74 | 69 6f 6e 73 20 69 6e 20 |ny funct|ions in |
|000029e0| 22 6d 61 69 6e 2e 63 22 | 0a 0a 54 68 75 20 4f 63 |"main.c"|..Thu Oc|
|000029f0| 74 20 32 34 20 31 38 3a | 30 33 3a 33 30 20 31 39 |t 24 18:|03:30 19|
|00002a00| 39 31 20 20 47 72 65 67 | 20 43 68 72 69 73 74 79 |91 Greg| Christy|
|00002a10| 20 20 28 67 6d 63 20 61 | 74 20 70 72 65 6d 69 73 | (gmc a|t premis|
|00002a20| 65 73 31 2e 51 75 6f 74 | 72 6f 6e 2e 43 4f 4d 29 |es1.Quot|ron.COM)|
|00002a30| 0a 0a 09 2a 20 6d 61 64 | 65 20 6c 6f 74 73 20 6f |...* mad|e lots o|
|00002a40| 66 20 63 68 61 6e 67 65 | 73 20 74 6f 20 6d 69 6e |f change|s to min|
|00002a50| 69 6d 69 7a 65 20 74 79 | 70 65 20 6d 69 73 6d 61 |imize ty|pe misma|
|00002a60| 74 63 68 65 73 20 28 62 | 65 6e 69 67 6e 20 6f 72 |tches (b|enign or|
|00002a70| 0a 09 6f 74 68 65 72 77 | 69 73 65 29 2e 20 20 6d |..otherw|ise). m|
|00002a80| 61 64 65 20 6c 6f 63 61 | 6c 20 63 6f 70 79 20 6f |ade loca|l copy o|
|00002a90| 66 20 63 61 6c 6c 6f 75 | 74 2e 68 20 73 6f 20 74 |f callou|t.h so t|
|00002aa0| 68 61 74 20 67 65 6e 65 | 72 69 63 20 70 6f 69 6e |hat gene|ric poin|
|00002ab0| 74 65 72 73 0a 09 74 6f | 20 66 75 6e 63 74 69 6f |ters..to| functio|
|00002ac0| 6e 73 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 69 |ns can b|e used i|
|00002ad0| 6e 20 63 61 6c 6c 6f 75 | 74 73 2e 20 20 63 68 61 |n callou|ts. cha|
|00002ae0| 6e 67 65 64 20 74 69 6d | 65 6f 75 74 20 63 61 6c |nged tim|eout cal|
|00002af0| 6c 62 61 63 6b 73 0a 09 | 69 6e 20 66 73 6d 2e 63 |lbacks..|in fsm.c|
|00002b00| 20 61 6e 64 20 75 70 61 | 70 2e 63 20 74 6f 20 75 | and upa|p.c to u|
|00002b10| 73 65 20 61 20 63 61 64 | 64 72 5f 74 20 61 73 20 |se a cad|dr_t as |
|00002b20| 74 68 65 20 61 72 67 75 | 6d 65 6e 74 20 61 6e 64 |the argu|ment and|
|00002b30| 20 69 6e 20 74 68 65 0a | 09 74 69 6d 65 6f 75 74 | in the.|.timeout|
|00002b40| 20 63 61 6c 6c 62 61 63 | 6b 20 66 75 6e 63 74 69 | callbac|k functi|
|00002b50| 6f 6e 20 72 65 63 61 73 | 74 20 62 61 63 6b 20 74 |on recas|t back t|
|00002b60| 6f 20 61 20 70 6f 69 6e | 74 65 72 20 74 6f 20 74 |o a poin|ter to t|
|00002b70| 68 65 20 6c 6f 63 61 6c | 0a 09 73 74 72 75 63 74 |he local|..struct|
|00002b80| 20 74 79 70 65 2e 20 0a | 0a 57 65 64 20 4f 63 74 | type. .|.Wed Oct|
|00002b90| 20 32 33 20 31 34 3a 33 | 35 3a 30 34 20 31 39 39 | 23 14:3|5:04 199|
|00002ba0| 31 20 20 47 72 65 67 20 | 43 68 72 69 73 74 79 20 |1 Greg |Christy |
|00002bb0| 20 28 67 6d 63 20 61 74 | 20 70 72 65 6d 69 73 65 | (gmc at| premise|
|00002bc0| 73 31 2e 51 75 6f 74 72 | 6f 6e 2e 43 4f 4d 29 0a |s1.Quotr|on.COM).|
|00002bd0| 0a 09 2a 20 49 4e 53 54 | 41 4c 4c 2f 63 68 61 74 |..* INST|ALL/chat|
|00002be0| 2e 63 3a 20 4d 6f 64 69 | 66 69 65 64 20 63 68 61 |.c: Modi|fied cha|
|00002bf0| 74 2e 63 20 74 6f 20 61 | 64 64 20 63 6f 64 65 20 |t.c to a|dd code |
|00002c00| 74 6f 20 73 61 76 65 2f | 72 65 73 74 6f 72 65 0a |to save/|restore.|
|00002c10| 09 6f 66 20 54 54 59 20 | 70 61 72 61 6d 73 20 70 |.of TTY |params p|
|00002c20| 65 72 20 73 75 67 67 65 | 73 74 69 6f 6e 20 6f 66 |er sugge|stion of|
|00002c30| 20 4a 69 6d 20 4d 61 79 | 65 72 20 28 6d 61 79 65 | Jim May|er (maye|
|00002c40| 72 40 77 72 63 2e 78 65 | 72 6f 78 2e 63 6f 6d 29 |r@wrc.xe|rox.com)|
|00002c50| 0a 0a 09 2a 20 70 70 70 | 2e 63 3a 20 41 64 64 65 |...* ppp|.c: Adde|
|00002c60| 64 20 76 61 72 69 6f 75 | 73 20 23 69 6e 63 6c 75 |d variou|s #inclu|
|00002c70| 64 65 73 20 74 6f 20 64 | 65 66 69 6e 65 20 66 75 |des to d|efine fu|
|00002c80| 6e 63 74 69 6f 6e 20 74 | 79 70 65 73 20 74 68 61 |nction t|ypes tha|
|00002c90| 74 0a 09 77 65 72 65 20 | 70 72 65 76 69 6f 75 73 |t..were |previous|
|00002ca0| 6c 79 20 64 65 66 61 75 | 6c 74 69 6e 67 20 74 6f |ly defau|lting to|
|00002cb0| 20 74 79 70 65 20 69 6e | 74 2e 0a 0a 09 2a 20 70 | type in|t....* p|
|00002cc0| 70 70 2e 63 3a 20 46 69 | 78 65 64 20 6e 61 73 74 |pp.c: Fi|xed nast|
|00002cd0| 79 20 62 75 67 20 72 65 | 70 6f 72 74 65 64 20 62 |y bug re|ported b|
|00002ce0| 79 20 4a 69 6d 20 4d 61 | 79 65 72 20 28 6d 61 79 |y Jim Ma|yer (may|
|00002cf0| 65 72 40 77 72 63 2e 78 | 65 72 6f 78 2e 63 6f 6d |er@wrc.x|erox.com|
|00002d00| 29 20 0a 09 61 6c 72 6d | 28 29 20 77 68 65 72 65 |) ..alrm|() where|
|00002d10| 20 69 74 20 77 61 73 20 | 70 6f 73 73 69 62 6c 65 | it was |possible|
|00002d20| 20 74 6f 20 64 65 72 65 | 66 65 72 65 6e 63 65 20 | to dere|ference |
|00002d30| 63 61 6c 6c 6f 75 74 20 | 77 68 65 6e 20 69 74 20 |callout |when it |
|00002d40| 77 61 73 0a 09 4e 55 4c | 4c 0a 0a 09 2a 20 70 70 |was..NUL|L...* pp|
|00002d50| 70 2e 63 3a 20 41 64 64 | 65 64 20 72 65 61 6c 20 |p.c: Add|ed real |
|00002d60| 73 65 74 73 69 64 28 29 | 20 73 75 70 70 6f 72 74 |setsid()| support|
|00002d70| 20 62 61 73 65 64 20 6f | 6e 20 61 20 70 61 74 63 | based o|n a patc|
|00002d80| 68 20 66 72 6f 6d 20 4a | 69 6d 20 4d 61 79 65 72 |h from J|im Mayer|
|00002d90| 0a 0a 09 2a 20 70 70 70 | 2e 63 3a 20 46 69 78 65 |...* ppp|.c: Fixe|
|00002da0| 64 20 61 6e 6f 74 68 65 | 72 20 62 75 67 20 70 6f |d anothe|r bug po|
|00002db0| 69 6e 74 65 64 20 6f 75 | 74 20 62 79 20 4a 69 6d |inted ou|t by Jim|
|00002dc0| 20 4d 65 79 65 72 2e 20 | 49 6e 20 6c 6f 67 69 6e | Meyer. |In login|
|00002dd0| 28 29 20 0a 09 75 73 65 | 72 20 61 6e 64 20 70 61 |() ..use|r and pa|
|00002de0| 73 73 77 64 20 73 74 72 | 69 6e 67 73 20 68 61 76 |sswd str|ings hav|
|00002df0| 65 20 6e 75 6c 6c 73 20 | 61 70 70 65 6e 64 65 64 |e nulls |appended|
|00002e00| 20 74 6f 20 74 68 65 6d | 0a 09 77 69 74 68 6f 75 | to them|..withou|
|00002e10| 74 20 66 69 72 73 74 20 | 6d 61 6b 69 6e 67 20 63 |t first |making c|
|00002e20| 6f 70 69 65 73 2e 20 4e | 65 65 64 6c 65 73 73 20 |opies. N|eedless |
|00002e30| 74 6f 20 73 61 79 2c 20 | 74 68 69 73 20 69 73 20 |to say, |this is |
|00002e40| 6e 6f 74 20 61 20 67 6f | 6f 64 0a 09 69 64 65 61 |not a go|od..idea|
|00002e50| 2e 20 20 55 73 65 64 20 | 61 6c 6c 6f 63 61 28 29 |. Used |alloca()|
|00002e60| 20 74 6f 20 6d 61 6b 65 | 20 63 6f 70 69 65 73 20 | to make| copies |
|00002e70| 62 65 66 6f 72 65 20 61 | 64 64 69 6e 67 20 74 68 |before a|dding th|
|00002e80| 65 20 6e 75 6c 6c 2e 0a | 0a 0a 4d 6f 6e 20 4f 63 |e null..|..Mon Oc|
|00002e90| 74 20 32 31 20 31 37 3a | 31 36 3a 33 34 20 31 39 |t 21 17:|16:34 19|
|00002ea0| 39 31 20 20 47 72 65 67 | 20 43 68 72 69 73 74 79 |91 Greg| Christy|
|00002eb0| 20 20 28 67 6d 63 20 61 | 74 20 70 72 65 6d 69 73 | (gmc a|t premis|
|00002ec0| 65 73 31 2e 51 75 6f 74 | 72 6f 6e 2e 43 4f 4d 29 |es1.Quot|ron.COM)|
|00002ed0| 0a 0a 09 2a 20 49 6e 69 | 74 69 61 6c 69 7a 65 20 |...* Ini|tialize |
|00002ee0| 43 68 61 6e 67 65 4c 6f | 67 0a 0a 09 2a 20 70 70 |ChangeLo|g...* pp|
|00002ef0| 70 5f 69 66 2e 63 3a 20 | 41 64 64 20 4e 49 54 20 |p_if.c: |Add NIT |
|00002f00| 69 6e 74 65 72 66 61 63 | 65 20 66 72 6f 6d 20 4a |interfac|e from J|
|00002f10| 75 68 61 20 53 61 72 6c | 69 6e 0a 09 20 20 28 6a |uha Sarl|in.. (j|
|00002f20| 75 68 61 40 65 6c 69 78 | 69 72 2e 6c 6e 65 2e 6b |uha@elix|ir.lne.k|
|00002f30| 74 68 2e 73 65 29 0a 0a | 09 2a 20 4d 61 6b 65 66 |th.se)..|.* Makef|
|00002f40| 69 6c 65 3a 20 41 64 64 | 20 73 61 62 65 72 20 64 |ile: Add| saber d|
|00002f50| 65 70 65 6e 64 65 6e 63 | 69 65 73 0a 0a 00 00 00 |ependenc|ies.....|
|00002f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003000| 70 70 70 2d 32 2e 31 2e | 32 64 2f 52 45 41 44 4d |ppp-2.1.|2d/READM|
|00003010| 45 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |E.......|........|
|00003020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003060| 00 00 00 00 31 30 30 36 | 30 30 20 00 20 20 20 37 |....1006|00 . 7|
|00003070| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00003080| 20 20 31 33 34 35 32 20 | 20 35 35 37 32 37 35 33 | 13452 | 5572753|
|00003090| 31 30 34 20 20 31 32 36 | 31 31 00 20 30 00 00 00 |104 126|11. 0...|
|000030a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003100| 00 75 73 74 61 72 20 20 | 00 6c 6f 6e 67 79 65 61 |.ustar |.longyea|
|00003110| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00003120| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00003130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003200| 54 68 69 73 20 69 73 20 | 74 68 65 20 52 45 41 44 |This is |the READ|
|00003210| 4d 45 20 66 69 6c 65 20 | 66 6f 72 20 70 70 70 2d |ME file |for ppp-|
|00003220| 32 2e 31 2e 31 2e 0a 0a | 53 65 65 20 53 45 54 55 |2.1.1...|See SETU|
|00003230| 50 20 61 6e 64 20 52 45 | 41 44 4d 45 2e 2a 20 66 |P and RE|ADME.* f|
|00003240| 6f 72 20 69 6e 73 74 61 | 6c 6c 61 74 69 6f 6e 20 |or insta|llation |
|00003250| 69 6e 73 74 72 75 63 74 | 69 6f 6e 73 2e 0a 0a 57 |instruct|ions...W|
|00003260| 68 61 74 20 69 73 20 6e | 65 77 20 69 6e 20 70 70 |hat is n|ew in pp|
|00003270| 70 2d 32 2e 31 2e 31 3a | 0a 0a 2a 20 4c 69 6e 75 |p-2.1.1:|..* Linu|
|00003280| 78 20 69 73 20 6e 6f 77 | 20 73 75 70 70 6f 72 74 |x is now| support|
|00003290| 65 64 2c 20 74 68 61 6e | 6b 73 20 74 6f 20 4d 69 |ed, than|ks to Mi|
|000032a0| 63 68 61 65 6c 20 43 61 | 6c 6c 61 68 61 6e 20 61 |chael Ca|llahan a|
|000032b0| 6e 64 20 41 6c 20 4c 6f | 6e 67 79 65 61 72 0a 3c |nd Al Lo|ngyear.<|
|000032c0| 6c 6f 6e 67 79 65 61 72 | 40 6e 65 74 63 6f 6d 2e |longyear|@netcom.|
|000032d0| 63 6f 6d 3e 2e 0a 0a 2a | 20 49 6d 70 72 6f 76 65 |com>...*| Improve|
|000032e0| 6d 65 6e 74 73 20 74 6f | 20 63 68 61 74 2c 20 61 |ments to| chat, a|
|000032f0| 6c 6f 6e 67 20 77 69 74 | 68 20 61 20 6d 61 6e 20 |long wit|h a man |
|00003300| 70 61 67 65 20 66 6f 72 | 20 69 74 2c 20 74 68 61 |page for| it, tha|
|00003310| 6e 6b 73 20 74 6f 20 41 | 6c 0a 4c 6f 6e 67 79 65 |nks to A|l.Longye|
|00003320| 61 72 2e 0a 0a 2a 20 53 | 65 63 75 72 69 74 79 20 |ar...* S|ecurity |
|00003330| 69 6d 70 72 6f 76 65 6d | 65 6e 74 73 3a 0a 0a 20 |improvem|ents:.. |
|00003340| 20 2d 20 70 70 70 64 20 | 6e 6f 77 20 72 65 71 75 | - pppd |now requ|
|00003350| 69 72 65 73 20 74 68 65 | 20 2f 65 74 63 2f 70 70 |ires the| /etc/pp|
|00003360| 70 2f 6f 70 74 69 6f 6e | 73 20 66 69 6c 65 20 74 |p/option|s file t|
|00003370| 6f 20 62 65 20 72 65 61 | 64 61 62 6c 65 2c 20 75 |o be rea|dable, u|
|00003380| 6e 6c 65 73 73 0a 20 20 | 20 20 69 74 20 69 73 20 |nless. | it is |
|00003390| 63 6f 6d 70 69 6c 65 64 | 20 77 69 74 68 20 2d 44 |compiled| with -D|
|000033a0| 52 45 51 5f 53 59 53 4f | 50 54 49 4f 4e 53 3d 30 |REQ_SYSO|PTIONS=0|
|000033b0| 20 6f 6e 20 74 68 65 20 | 63 6f 6d 70 69 6c 61 74 | on the |compilat|
|000033c0| 69 6f 6e 20 63 6f 6d 6d | 61 6e 64 0a 20 20 20 20 |ion comm|and. |
|000033d0| 6c 69 6e 65 2e 20 20 49 | 66 20 79 6f 75 20 64 6f |line. I|f you do|
|000033e0| 6e 27 74 20 68 61 76 65 | 20 61 6e 20 2f 65 74 63 |n't have| an /etc|
|000033f0| 2f 70 70 70 2f 6f 70 74 | 69 6f 6e 73 20 66 69 6c |/ppp/opt|ions fil|
|00003400| 65 2c 20 79 6f 75 20 77 | 69 6c 6c 20 61 74 20 74 |e, you w|ill at t|
|00003410| 68 65 0a 20 20 20 20 6d | 69 6e 69 6d 75 6d 20 68 |he. m|inimum h|
|00003420| 61 76 65 20 74 6f 20 63 | 72 65 61 74 65 20 61 6e |ave to c|reate an|
|00003430| 20 65 6d 70 74 79 20 6f | 6e 65 2e 0a 0a 20 20 2d | empty o|ne... -|
|00003440| 20 70 70 70 64 20 6e 6f | 77 20 72 65 70 6f 72 74 | pppd no|w report|
|00003450| 73 20 61 6e 20 65 72 72 | 6f 72 20 61 6e 64 20 65 |s an err|or and e|
|00003460| 78 69 74 73 20 69 66 20 | 74 68 65 20 7e 2f 2e 70 |xits if |the ~/.p|
|00003470| 70 70 72 63 20 66 69 6c | 65 20 6f 72 20 61 20 66 |pprc fil|e or a f|
|00003480| 69 6c 65 0a 20 20 20 20 | 73 70 65 63 69 66 69 65 |ile. |specifie|
|00003490| 64 20 77 69 74 68 20 74 | 68 65 20 60 66 69 6c 65 |d with t|he `file|
|000034a0| 27 20 6f 70 74 69 6f 6e | 20 63 61 6e 6e 6f 74 20 |' option| cannot |
|000034b0| 62 65 20 72 65 61 64 20 | 62 79 20 74 68 65 20 75 |be read |by the u|
|000034c0| 73 65 72 20 77 68 6f 0a | 20 20 20 20 69 6e 76 6f |ser who.| invo|
|000034d0| 6b 65 64 20 70 70 70 64 | 2e 20 20 54 68 65 20 66 |ked pppd|. The f|
|000034e0| 69 6c 65 20 73 70 65 63 | 69 66 69 65 64 20 77 69 |ile spec|ified wi|
|000034f0| 74 68 20 74 68 65 20 60 | 2b 75 61 27 20 6f 70 74 |th the `|+ua' opt|
|00003500| 69 6f 6e 20 69 73 20 61 | 6c 73 6f 0a 20 20 20 20 |ion is a|lso. |
|00003510| 73 75 62 6a 65 63 74 20 | 74 6f 20 74 68 65 20 73 |subject |to the s|
|00003520| 61 6d 65 20 63 68 65 63 | 6b 2e 0a 0a 20 20 2d 20 |ame chec|k... - |
|00003530| 70 70 70 64 20 6e 6f 77 | 20 72 65 66 75 73 65 73 |pppd now| refuses|
|00003540| 20 74 6f 20 75 73 65 20 | 61 6e 20 61 64 64 72 65 | to use |an addre|
|00003550| 73 73 20 6f 6e 20 74 68 | 65 20 6c 6f 6f 70 62 61 |ss on th|e loopba|
|00003560| 63 6b 20 6e 65 74 20 6f | 72 20 61 0a 20 20 20 20 |ck net o|r a. |
|00003570| 6d 75 6c 74 69 63 61 73 | 74 20 61 64 64 72 65 73 |multicas|t addres|
|00003580| 73 20 66 6f 72 20 65 69 | 74 68 65 72 20 65 6e 64 |s for ei|ther end|
|00003590| 20 6f 66 20 74 68 65 20 | 6c 69 6e 6b 2e 0a 0a 20 | of the |link... |
|000035a0| 20 2d 20 69 66 20 61 20 | 6e 65 74 6d 61 73 6b 20 | - if a |netmask |
|000035b0| 68 61 73 20 62 65 65 6e | 20 73 70 65 63 69 66 69 |has been| specifi|
|000035c0| 65 64 2c 20 61 20 66 75 | 72 74 68 65 72 20 6e 65 |ed, a fu|rther ne|
|000035d0| 74 6d 61 73 6b 20 6f 70 | 74 69 6f 6e 20 77 69 6c |tmask op|tion wil|
|000035e0| 6c 20 62 65 0a 20 20 20 | 20 72 65 6a 65 63 74 65 |l be. | rejecte|
|000035f0| 64 20 69 66 20 69 74 20 | 77 6f 75 6c 64 20 22 62 |d if it |would "b|
|00003600| 72 6f 61 64 65 6e 22 20 | 74 68 65 20 6e 65 74 6d |roaden" |the netm|
|00003610| 61 73 6b 2c 20 74 68 61 | 74 20 69 73 2c 20 73 65 |ask, tha|t is, se|
|00003620| 74 20 61 20 62 69 74 20 | 74 6f 0a 20 20 20 20 30 |t a bit |to. 0|
|00003630| 20 77 68 69 63 68 20 77 | 61 73 20 70 72 65 76 69 | which w|as previ|
|00003640| 6f 75 73 6c 79 20 31 2e | 20 20 54 68 75 73 20 74 |ously 1.| Thus t|
|00003650| 68 65 20 73 79 73 74 65 | 6d 20 61 64 6d 69 6e 69 |he syste|m admini|
|00003660| 73 74 72 61 74 6f 72 20 | 63 61 6e 20 70 75 74 20 |strator |can put |
|00003670| 61 0a 20 20 20 20 6e 65 | 74 6d 61 73 6b 20 6f 70 |a. ne|tmask op|
|00003680| 74 69 6f 6e 20 69 6e 20 | 2f 65 74 63 2f 70 70 70 |tion in |/etc/ppp|
|00003690| 2f 6f 70 74 69 6f 6e 73 | 20 77 69 74 68 6f 75 74 |/options| without|
|000036a0| 20 68 61 76 69 6e 67 20 | 69 74 20 6f 76 65 72 72 | having |it overr|
|000036b0| 69 64 64 65 6e 20 62 79 | 0a 20 20 20 20 61 6e 20 |idden by|. an |
|000036c0| 6f 70 74 69 6f 6e 20 6f | 6e 20 74 68 65 20 63 6f |option o|n the co|
|000036d0| 6d 6d 61 6e 64 20 6c 69 | 6e 65 2e 0a 0a 20 20 2d |mmand li|ne... -|
|000036e0| 20 63 68 61 74 20 6e 6f | 77 20 74 61 6b 65 73 20 | chat no|w takes |
|000036f0| 61 20 2d 66 20 6f 70 74 | 69 6f 6e 20 77 68 69 63 |a -f opt|ion whic|
|00003700| 68 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |h indica|tes that|
|00003710| 20 69 74 20 73 68 6f 75 | 6c 64 20 72 65 61 64 20 | it shou|ld read |
|00003720| 74 68 65 0a 20 20 20 20 | 73 63 72 69 70 74 20 66 |the. |script f|
|00003730| 72 6f 6d 20 74 68 65 20 | 66 69 6c 65 2e 20 20 49 |rom the |file. I|
|00003740| 66 20 79 6f 75 20 69 6e | 63 6c 75 64 65 20 61 20 |f you in|clude a |
|00003750| 70 61 73 73 77 6f 72 64 | 20 69 6e 20 74 68 65 20 |password| in the |
|00003760| 73 63 72 69 70 74 2c 0a | 20 20 20 20 79 6f 75 20 |script,.| you |
|00003770| 73 68 6f 75 6c 64 20 70 | 75 74 20 74 68 65 20 73 |should p|ut the s|
|00003780| 63 72 69 70 74 20 69 6e | 20 61 20 66 69 6c 65 20 |cript in| a file |
|00003790| 69 6e 73 74 65 61 64 20 | 6f 66 20 6f 6e 20 74 68 |instead |of on th|
|000037a0| 65 20 63 68 61 74 20 63 | 6f 6d 6d 61 6e 64 0a 20 |e chat c|ommand. |
|000037b0| 20 20 20 6c 69 6e 65 2c | 20 62 65 63 61 75 73 65 | line,| because|
|000037c0| 20 74 68 65 20 63 68 61 | 74 20 63 6f 6d 6d 61 6e | the cha|t comman|
|000037d0| 64 20 6c 69 6e 65 20 69 | 73 20 76 69 73 69 62 6c |d line i|s visibl|
|000037e0| 65 20 74 6f 20 61 6e 79 | 6f 6e 65 20 72 75 6e 6e |e to any|one runn|
|000037f0| 69 6e 67 0a 20 20 20 20 | 70 73 28 31 29 20 77 68 |ing. |ps(1) wh|
|00003800| 69 6c 65 20 63 68 61 74 | 20 69 73 20 72 75 6e 6e |ile chat| is runn|
|00003810| 69 6e 67 2e 20 20 28 59 | 6f 75 20 73 68 6f 75 6c |ing. (Y|ou shoul|
|00003820| 64 20 6f 66 20 63 6f 75 | 72 73 65 20 6d 61 6b 65 |d of cou|rse make|
|00003830| 20 74 68 65 0a 20 20 20 | 20 73 63 72 69 70 74 20 | the. | script |
|00003840| 66 69 6c 65 20 72 65 61 | 64 61 62 6c 65 20 6f 6e |file rea|dable on|
|00003850| 6c 79 20 62 79 20 79 6f | 75 72 73 65 6c 66 2e 29 |ly by yo|urself.)|
|00003860| 0a 0a 2a 20 70 70 70 64 | 20 63 61 6e 20 6e 6f 77 |..* pppd| can now|
|00003870| 20 73 65 6e 64 20 61 6e | 20 4c 43 50 20 65 63 68 | send an| LCP ech|
|00003880| 6f 2d 72 65 71 75 65 73 | 74 20 70 65 72 69 6f 64 |o-reques|t period|
|00003890| 69 63 61 6c 6c 79 20 74 | 6f 20 74 68 65 20 70 65 |ically t|o the pe|
|000038a0| 65 72 2c 20 61 6e 64 0a | 74 61 6b 65 20 74 68 65 |er, and.|take the|
|000038b0| 20 6c 69 6e 6b 20 64 6f | 77 6e 20 69 66 20 6e 6f | link do|wn if no|
|000038c0| 20 72 65 70 6c 79 20 69 | 73 20 72 65 63 65 69 76 | reply i|s receiv|
|000038d0| 65 64 20 74 6f 20 61 20 | 75 73 65 72 2d 73 70 65 |ed to a |user-spe|
|000038e0| 63 69 66 69 65 64 20 6e | 75 6d 62 65 72 0a 6f 66 |cified n|umber.of|
|000038f0| 20 65 63 68 6f 2d 72 65 | 71 75 65 73 74 73 2e 20 | echo-re|quests. |
|00003900| 20 54 68 69 73 20 61 6c | 6c 6f 77 73 20 70 70 70 | This al|lows ppp|
|00003910| 64 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 69 |d to det|ermine i|
|00003920| 66 20 74 68 65 20 73 65 | 72 69 61 6c 20 6c 69 6e |f the se|rial lin|
|00003930| 6b 20 69 73 0a 62 72 6f | 6b 65 6e 20 6f 6e 20 73 |k is.bro|ken on s|
|00003940| 79 73 74 65 6d 73 20 77 | 68 69 63 68 20 64 6f 20 |ystems w|hich do |
|00003950| 6e 6f 74 20 73 75 70 70 | 6f 72 74 20 68 61 72 64 |not supp|ort hard|
|00003960| 77 61 72 65 20 6d 6f 64 | 65 6d 20 63 6f 6e 74 72 |ware mod|em contr|
|00003970| 6f 6c 20 6c 69 6e 65 73 | 2e 0a 55 6e 64 65 72 20 |ol lines|..Under |
|00003980| 4c 69 6e 75 78 2c 20 74 | 68 65 20 65 63 68 6f 2d |Linux, t|he echo-|
|00003990| 72 65 71 75 65 73 74 20 | 69 73 20 73 65 6e 74 20 |request |is sent |
|000039a0| 69 66 20 6e 6f 20 70 61 | 63 6b 65 74 73 20 68 61 |if no pa|ckets ha|
|000039b0| 76 65 20 62 65 65 6e 20 | 72 65 63 65 69 76 65 64 |ve been |received|
|000039c0| 0a 66 72 6f 6d 20 74 68 | 65 20 70 65 65 72 20 66 |.from th|e peer f|
|000039d0| 6f 72 20 61 20 75 73 65 | 72 2d 73 70 65 63 69 66 |or a use|r-specif|
|000039e0| 69 65 64 20 61 6d 6f 75 | 6e 74 20 6f 66 20 74 69 |ied amou|nt of ti|
|000039f0| 6d 65 2e 20 20 55 6e 64 | 65 72 20 6f 74 68 65 72 |me. Und|er other|
|00003a00| 0a 73 79 73 74 65 6d 73 | 2c 20 65 63 68 6f 2d 72 |.systems|, echo-r|
|00003a10| 65 71 75 65 73 74 73 20 | 61 72 65 20 73 69 6d 70 |equests |are simp|
|00003a20| 6c 79 20 73 65 6e 74 20 | 70 65 72 69 6f 64 69 63 |ly sent |periodic|
|00003a30| 61 6c 6c 79 20 61 74 20 | 75 73 65 72 2d 73 70 65 |ally at |user-spe|
|00003a40| 63 69 66 69 65 64 0a 69 | 6e 74 65 72 76 61 6c 73 |cified.i|ntervals|
|00003a50| 2e 20 20 53 65 65 20 74 | 68 65 20 60 6c 63 70 2d |. See t|he `lcp-|
|00003a60| 65 63 68 6f 2d 69 6e 74 | 65 72 76 61 6c 27 20 61 |echo-int|erval' a|
|00003a70| 6e 64 20 60 6c 63 70 2d | 65 63 68 6f 2d 66 61 69 |nd `lcp-|echo-fai|
|00003a80| 6c 75 72 65 27 0a 6f 70 | 74 69 6f 6e 73 2e 20 20 |lure'.op|tions. |
|00003a90| 54 68 69 73 20 63 6f 64 | 65 20 69 73 20 66 72 6f |This cod|e is fro|
|00003aa0| 6d 20 74 68 65 20 4c 69 | 6e 75 78 20 70 6f 72 74 |m the Li|nux port|
|00003ab0| 2e 0a 0a 2a 20 70 70 70 | 64 20 6e 6f 77 20 72 65 |...* ppp|d now re|
|00003ac0| 61 64 73 20 61 20 74 74 | 79 2d 73 70 65 63 69 66 |ads a tt|y-specif|
|00003ad0| 69 63 20 6f 70 74 69 6f | 6e 73 20 66 69 6c 65 20 |ic optio|ns file |
|00003ae0| 61 66 74 65 72 20 70 72 | 6f 63 65 73 73 69 6e 67 |after pr|ocessing|
|00003af0| 20 74 68 65 0a 63 6f 6d | 6d 61 6e 64 2d 6c 69 6e | the.com|mand-lin|
|00003b00| 65 20 6f 70 74 69 6f 6e | 73 2e 20 20 54 68 65 20 |e option|s. The |
|00003b10| 66 69 6c 65 20 69 73 20 | 63 61 6c 6c 65 64 20 2f |file is |called /|
|00003b20| 65 74 63 2f 70 70 70 2f | 6f 70 74 69 6f 6e 73 2e |etc/ppp/|options.|
|00003b30| 3c 74 74 79 6e 61 6d 65 | 3e 0a 28 66 6f 72 20 65 |<ttyname|>.(for e|
|00003b40| 78 61 6d 70 6c 65 2c 20 | 2f 65 74 63 2f 70 70 70 |xample, |/etc/ppp|
|00003b50| 2f 6f 70 74 69 6f 6e 73 | 2e 74 74 79 61 32 20 69 |/options|.ttya2 i|
|00003b60| 66 20 70 70 70 64 20 69 | 73 20 75 73 69 6e 67 20 |f pppd i|s using |
|00003b70| 2f 64 65 76 2f 74 74 79 | 61 32 29 2e 0a 54 68 65 |/dev/tty|a2)..The|
|00003b80| 20 73 79 73 74 65 6d 20 | 61 64 6d 69 6e 69 73 74 | system |administ|
|00003b90| 72 61 74 6f 72 20 63 61 | 6e 20 75 73 65 20 74 68 |rator ca|n use th|
|00003ba0| 65 73 65 20 66 69 6c 65 | 73 20 74 6f 20 61 73 73 |ese file|s to ass|
|00003bb0| 69 67 6e 20 61 6e 20 49 | 50 20 61 64 64 72 65 73 |ign an I|P addres|
|00003bc0| 73 0a 62 61 73 65 64 20 | 6f 6e 20 77 68 69 63 68 |s.based |on which|
|00003bd0| 20 74 74 79 20 70 6f 72 | 74 20 61 20 63 61 6c 6c | tty por|t a call|
|00003be0| 20 63 61 6d 65 20 69 6e | 20 6f 6e 2c 20 66 6f 72 | came in| on, for|
|00003bf0| 20 65 78 61 6d 70 6c 65 | 2e 0a 0a 2a 20 54 68 65 | example|...* The|
|00003c00| 72 65 20 69 73 20 6e 6f | 77 20 61 20 60 2d 63 72 |re is no|w a `-cr|
|00003c10| 74 73 63 74 73 27 20 66 | 6c 61 67 20 28 60 78 6f |tscts' f|lag (`xo|
|00003c20| 6e 78 6f 66 66 27 20 69 | 73 20 61 20 73 79 6e 6f |nxoff' i|s a syno|
|00003c30| 6e 79 6d 29 20 77 68 69 | 63 68 0a 65 6e 61 62 6c |nym) whi|ch.enabl|
|00003c40| 65 73 20 66 6c 6f 77 20 | 63 6f 6e 74 72 6f 6c 20 |es flow |control |
|00003c50| 75 73 69 6e 67 20 74 68 | 65 20 44 43 31 20 28 5e |using th|e DC1 (^|
|00003c60| 51 29 20 61 6e 64 20 44 | 43 33 20 28 5e 53 29 20 |Q) and D|C3 (^S) |
|00003c70| 63 68 61 72 61 63 74 65 | 72 73 20 28 61 6e 64 0a |characte|rs (and.|
|00003c80| 64 69 73 61 62 6c 65 73 | 20 68 61 72 64 77 61 72 |disables| hardwar|
|00003c90| 65 20 52 54 53 2f 43 54 | 53 20 66 6c 6f 77 20 63 |e RTS/CT|S flow c|
|00003ca0| 6f 6e 74 72 6f 6c 29 2e | 20 20 54 68 69 73 20 6f |ontrol).| This o|
|00003cb0| 70 74 69 6f 6e 20 69 73 | 20 6f 6e 6c 79 0a 73 75 |ption is| only.su|
|00003cc0| 70 70 6f 72 74 65 64 20 | 75 6e 64 65 72 20 4c 69 |pported |under Li|
|00003cd0| 6e 75 78 20 61 74 20 70 | 72 65 73 65 6e 74 2e 0a |nux at p|resent..|
|00003ce0| 0a 2a 20 54 68 65 72 65 | 20 69 73 20 6e 6f 77 20 |.* There| is now |
|00003cf0| 61 20 60 76 6a 2d 6d 61 | 78 2d 73 6c 6f 74 73 27 |a `vj-ma|x-slots'|
|00003d00| 20 6f 70 74 69 6f 6e 20 | 77 68 69 63 68 20 63 6f | option |which co|
|00003d10| 6e 74 72 6f 6c 73 20 68 | 6f 77 20 6d 61 6e 79 20 |ntrols h|ow many |
|00003d20| 73 6c 6f 74 73 0a 28 63 | 6f 6e 6e 65 63 74 69 6f |slots.(c|onnectio|
|00003d30| 6e 20 49 44 73 29 20 74 | 68 65 20 56 4a 20 63 6f |n IDs) t|he VJ co|
|00003d40| 6d 70 72 65 73 73 6f 72 | 20 61 6e 64 20 64 65 63 |mpressor| and dec|
|00003d50| 6f 6d 70 72 65 73 73 6f | 72 20 77 69 6c 6c 20 75 |ompresso|r will u|
|00003d60| 73 65 2e 20 20 49 74 0a | 74 61 6b 65 73 20 61 20 |se. It.|takes a |
|00003d70| 70 61 72 61 6d 65 74 65 | 72 20 77 68 69 63 68 20 |paramete|r which |
|00003d80| 6d 75 73 74 20 62 65 20 | 62 65 74 77 65 65 6e 20 |must be |between |
|00003d90| 32 20 61 6e 64 20 31 36 | 2e 20 20 54 68 65 72 65 |2 and 16|. There|
|00003da0| 20 69 73 20 61 6c 73 6f | 20 61 0a 60 2d 76 6a 63 | is also| a.`-vjc|
|00003db0| 63 6f 6d 70 27 20 6f 70 | 74 69 6f 6e 20 77 68 69 |comp' op|tion whi|
|00003dc0| 63 68 20 64 69 73 61 62 | 6c 65 73 20 63 6f 6e 6e |ch disab|les conn|
|00003dd0| 65 63 74 69 6f 6e 2d 49 | 44 20 63 6f 6d 70 72 65 |ection-I|D compre|
|00003de0| 73 73 69 6f 6e 2e 0a 0a | 2a 20 42 75 67 73 20 66 |ssion...|* Bugs f|
|00003df0| 69 78 65 64 3a 0a 0a 20 | 20 2d 20 54 68 65 20 70 |ixed:.. | - The p|
|00003e00| 72 69 6f 72 69 74 79 20 | 71 75 65 75 65 69 6e 67 |riority |queueing|
|00003e10| 20 66 6f 72 20 69 6e 74 | 65 72 61 63 74 69 76 65 | for int|eractive|
|00003e20| 20 74 72 61 66 66 69 63 | 20 77 61 73 20 6e 6f 74 | traffic| was not|
|00003e30| 20 77 6f 72 6b 69 6e 67 | 0a 20 20 20 20 63 6f 72 | working|. cor|
|00003e40| 72 65 63 74 6c 79 20 6f | 6e 20 6c 69 74 74 6c 65 |rectly o|n little|
|00003e50| 2d 65 6e 64 69 61 6e 20 | 6d 61 63 68 69 6e 65 73 |-endian |machines|
|00003e60| 20 75 6e 64 65 72 20 42 | 53 44 20 61 6e 64 20 55 | under B|SD and U|
|00003e70| 6c 74 72 69 78 2e 20 20 | 54 68 69 73 20 69 73 0a |ltrix. |This is.|
|00003e80| 20 20 20 20 6e 6f 77 20 | 66 69 78 65 64 2e 0a 0a | now |fixed...|
|00003e90| 20 20 2d 20 49 66 20 74 | 68 65 20 70 65 65 72 20 | - If t|he peer |
|00003ea0| 65 73 63 61 70 65 73 20 | 74 68 65 20 63 68 61 72 |escapes |the char|
|00003eb0| 61 63 74 65 72 20 30 78 | 35 64 20 28 27 5d 27 29 |acter 0x|5d (']')|
|00003ec0| 20 6f 6e 20 74 72 61 6e | 73 6d 69 73 73 69 6f 6e | on tran|smission|
|00003ed0| 2c 20 74 68 65 0a 20 20 | 20 20 72 65 73 75 6c 74 |, the. | result|
|00003ee0| 20 69 73 20 74 68 65 20 | 50 50 50 20 65 73 63 61 | is the |PPP esca|
|00003ef0| 70 65 20 63 68 61 72 61 | 63 74 65 72 20 74 77 69 |pe chara|cter twi|
|00003f00| 63 65 20 69 6e 20 61 20 | 72 6f 77 20 28 27 7d 7d |ce in a |row ('}}|
|00003f10| 27 29 2e 20 20 54 68 69 | 73 0a 20 20 20 20 63 61 |'). Thi|s. ca|
|00003f20| 73 65 20 69 73 20 6e 6f | 77 20 68 61 6e 64 6c 65 |se is no|w handle|
|00003f30| 64 20 63 6f 72 72 65 63 | 74 6c 79 20 62 79 20 74 |d correc|tly by t|
|00003f40| 68 65 20 72 65 63 65 69 | 76 65 72 2e 0a 0a 20 20 |he recei|ver... |
|00003f50| 2d 20 50 72 65 76 69 6f | 75 73 6c 79 2c 20 77 68 |- Previo|usly, wh|
|00003f60| 65 6e 20 74 68 65 20 60 | 70 61 73 73 69 76 65 27 |en the `|passive'|
|00003f70| 20 6f 72 20 60 73 69 6c | 65 6e 74 27 20 6f 70 74 | or `sil|ent' opt|
|00003f80| 69 6f 6e 73 20 77 65 72 | 65 20 75 73 65 64 2c 20 |ions wer|e used, |
|00003f90| 70 70 70 64 0a 20 20 20 | 20 77 6f 75 6c 64 20 6e |pppd. | would n|
|00003fa0| 6f 74 20 65 78 69 74 20 | 69 6e 20 72 65 73 70 6f |ot exit |in respo|
|00003fb0| 6e 73 65 20 74 6f 20 61 | 20 53 49 47 54 45 52 4d |nse to a| SIGTERM|
|00003fc0| 20 6f 72 20 53 49 47 49 | 4e 54 20 69 66 20 69 74 | or SIGI|NT if it|
|00003fd0| 20 68 61 64 20 6e 6f 74 | 0a 20 20 20 20 73 75 63 | had not|. suc|
|00003fe0| 63 65 73 73 66 75 6c 6c | 79 20 65 73 74 61 62 6c |cessfull|y establ|
|00003ff0| 69 73 68 65 64 20 61 20 | 63 6f 6e 6e 65 63 74 69 |ished a |connecti|
|00004000| 6f 6e 2e 20 20 54 68 69 | 73 20 62 75 67 20 69 73 |on. Thi|s bug is|
|00004010| 20 6e 6f 77 20 66 69 78 | 65 64 2e 0a 0a 2a 20 70 | now fix|ed...* p|
|00004020| 70 70 2d 32 2e 31 2e 31 | 20 69 6e 74 72 6f 64 75 |pp-2.1.1| introdu|
|00004030| 63 65 64 20 74 68 65 20 | 72 65 63 65 69 76 65 20 |ced the |receive |
|00004040| 61 73 79 6e 63 6d 61 70 | 2c 20 77 68 69 63 68 20 |asyncmap|, which |
|00004050| 77 61 73 20 73 65 74 20 | 74 6f 0a 30 78 66 66 66 |was set |to.0xfff|
|00004060| 66 66 66 66 66 20 28 72 | 65 6a 65 63 74 69 6e 67 |fffff (r|ejecting|
|00004070| 20 61 6c 6c 20 72 65 63 | 65 69 76 65 64 20 63 6f | all rec|eived co|
|00004080| 6e 74 72 6f 6c 20 63 68 | 61 72 61 63 74 65 72 73 |ntrol ch|aracters|
|00004090| 29 20 69 66 20 69 74 20 | 77 61 73 20 6e 6f 74 0a |) if it |was not.|
|000040a0| 6e 65 67 6f 74 69 61 74 | 65 64 2e 20 20 54 68 69 |negotiat|ed. Thi|
|000040b0| 73 20 69 73 20 69 6e 20 | 61 63 63 6f 72 64 61 6e |s is in |accordan|
|000040c0| 63 65 20 77 69 74 68 20 | 74 68 65 20 72 65 6c 65 |ce with |the rele|
|000040d0| 76 61 6e 74 20 52 46 43 | 73 2c 20 62 75 74 20 69 |vant RFC|s, but i|
|000040e0| 74 0a 61 70 70 61 72 65 | 6e 74 6c 79 20 63 61 75 |t.appare|ntly cau|
|000040f0| 73 65 64 20 70 72 6f 62 | 6c 65 6d 73 20 74 6f 20 |sed prob|lems to |
|00004100| 73 6f 6d 65 20 70 65 6f | 70 6c 65 20 77 68 6f 20 |some peo|ple who |
|00004110| 77 65 72 65 20 74 72 79 | 69 6e 67 20 74 6f 0a 63 |were try|ing to.c|
|00004120| 6f 6d 6d 75 6e 69 63 61 | 74 65 20 77 69 74 68 20 |ommunica|te with |
|00004130| 6f 74 68 65 72 2c 20 62 | 72 6f 6b 65 6e 2c 20 50 |other, b|roken, P|
|00004140| 50 50 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |PP imple|mentatio|
|00004150| 6e 73 2e 20 20 53 6f 2c | 20 66 6f 72 0a 62 61 63 |ns. So,| for.bac|
|00004160| 6b 77 61 72 64 73 20 63 | 6f 6d 70 61 74 69 62 69 |kwards c|ompatibi|
|00004170| 6c 69 74 79 2c 20 74 68 | 65 20 72 65 63 65 69 76 |lity, th|e receiv|
|00004180| 65 20 61 73 79 6e 63 6d | 61 70 20 69 73 20 6e 6f |e asyncm|ap is no|
|00004190| 77 20 73 65 74 20 74 6f | 20 30 78 30 30 30 30 30 |w set to| 0x00000|
|000041a0| 30 30 30 0a 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |000.if i|t is not|
|000041b0| 20 6e 65 67 6f 74 69 61 | 74 65 64 2e 0a 0a 0a 2d | negotia|ted....-|
|000041c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000041d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000041e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000041f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 57 68 61 |--------|----.Wha|
|00004210| 74 20 77 61 73 20 6e 65 | 77 20 69 6e 20 70 70 70 |t was ne|w in ppp|
|00004220| 2d 32 2e 31 3a 0a 0a 2a | 20 55 6c 74 72 69 78 20 |-2.1:..*| Ultrix |
|00004230| 69 73 20 6e 6f 77 20 73 | 75 70 70 6f 72 74 65 64 |is now s|upported|
|00004240| 2c 20 74 68 61 6e 6b 73 | 20 74 6f 20 52 6f 62 65 |, thanks| to Robe|
|00004250| 72 74 20 4f 6c 73 73 6f | 6e 20 61 6e 64 20 50 65 |rt Olsso|n and Pe|
|00004260| 72 20 53 75 6e 64 73 74 | 72 6f 6d 2e 0a 0a 2a 20 |r Sundst|rom...* |
|00004270| 41 6e 20 65 78 74 65 6e | 64 65 64 20 61 73 79 6e |An exten|ded asyn|
|00004280| 63 6d 61 70 20 68 61 73 | 20 62 65 65 6e 20 69 6d |cmap has| been im|
|00004290| 70 6c 65 6d 65 6e 74 65 | 64 2c 20 73 6f 20 79 6f |plemente|d, so yo|
|000042a0| 75 20 63 61 6e 20 6e 6f | 77 20 61 73 6b 20 66 6f |u can no|w ask fo|
|000042b0| 72 0a 61 6e 79 20 63 68 | 61 72 61 63 74 65 72 20 |r.any ch|aracter |
|000042c0| 74 6f 20 62 65 20 65 73 | 63 61 70 65 64 20 6f 6e |to be es|caped on|
|000042d0| 20 74 72 61 6e 73 6d 69 | 73 73 69 6f 6e 20 28 65 | transmi|ssion (e|
|000042e0| 78 63 65 70 74 20 30 78 | 32 30 20 2d 20 30 78 33 |xcept 0x|20 - 0x3|
|000042f0| 66 20 61 6e 64 0a 30 78 | 35 65 29 2e 20 20 54 68 |f and.0x|5e). Th|
|00004300| 65 20 6e 65 77 20 60 65 | 73 63 61 70 65 27 20 6f |e new `e|scape' o|
|00004310| 70 74 69 6f 6e 20 66 6f | 72 20 70 70 70 64 20 73 |ption fo|r pppd s|
|00004320| 70 65 63 69 66 69 65 73 | 20 74 68 6f 73 65 20 63 |pecifies| those c|
|00004330| 68 61 72 61 63 74 65 72 | 73 20 74 6f 0a 62 65 20 |haracter|s to.be |
|00004340| 65 73 63 61 70 65 64 20 | 6f 6e 20 74 72 61 6e 73 |escaped |on trans|
|00004350| 6d 69 73 73 69 6f 6e 20 | 28 61 73 20 64 69 73 74 |mission |(as dist|
|00004360| 69 6e 63 74 20 66 72 6f | 6d 20 74 68 65 20 61 73 |inct fro|m the as|
|00004370| 79 6e 63 6d 61 70 20 6f | 70 74 69 6f 6e 2c 0a 77 |yncmap o|ption,.w|
|00004380| 68 69 63 68 20 73 70 65 | 63 69 66 69 65 73 20 77 |hich spe|cifies w|
|00004390| 68 69 63 68 20 63 68 61 | 72 61 63 74 65 72 73 20 |hich cha|racters |
|000043a0| 74 6f 20 61 73 6b 20 74 | 68 65 20 70 65 65 72 20 |to ask t|he peer |
|000043b0| 74 6f 20 65 73 63 61 70 | 65 29 2e 0a 0a 2a 20 70 |to escap|e)...* p|
|000043c0| 70 70 64 20 6e 6f 77 20 | 68 61 73 20 61 20 60 6d |ppd now |has a `m|
|000043d0| 74 75 27 20 6f 70 74 69 | 6f 6e 20 77 68 69 63 68 |tu' opti|on which|
|000043e0| 20 73 70 65 63 69 66 69 | 65 73 20 74 68 65 20 6d | specifi|es the m|
|000043f0| 61 78 69 6d 75 6d 20 70 | 61 63 6b 65 74 20 73 69 |aximum p|acket si|
|00004400| 7a 65 0a 74 68 61 74 20 | 73 68 6f 75 6c 64 20 62 |ze.that |should b|
|00004410| 65 20 74 72 61 6e 73 6d | 69 74 74 65 64 20 28 61 |e transm|itted (a|
|00004420| 73 20 64 69 73 74 69 6e | 63 74 20 66 72 6f 6d 20 |s distin|ct from |
|00004430| 74 68 65 20 6d 72 75 20 | 6f 70 74 69 6f 6e 2c 20 |the mru |option, |
|00004440| 77 68 69 63 68 0a 73 70 | 65 63 69 66 69 65 73 20 |which.sp|ecifies |
|00004450| 74 68 65 20 6d 61 78 69 | 6d 75 6d 20 70 61 63 6b |the maxi|mum pack|
|00004460| 65 74 20 73 69 7a 65 20 | 77 65 20 61 73 6b 20 74 |et size |we ask t|
|00004470| 68 65 20 70 65 65 72 20 | 74 6f 20 73 65 6e 64 29 |he peer |to send)|
|00004480| 2e 0a 0a 2a 20 54 68 65 | 20 60 64 65 62 75 67 27 |...* The| `debug'|
|00004490| 20 6f 70 74 69 6f 6e 20 | 74 6f 20 70 70 70 64 20 | option |to pppd |
|000044a0| 6e 6f 77 20 63 61 75 73 | 65 73 20 69 74 20 74 6f |now caus|es it to|
|000044b0| 20 6c 6f 67 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 | log the| content|
|000044c0| 73 20 6f 66 20 61 6c 6c | 0a 63 6f 6e 74 72 6f 6c |s of all|.control|
|000044d0| 20 70 61 63 6b 65 74 73 | 20 73 65 6e 74 20 61 6e | packets| sent an|
|000044e0| 64 20 72 65 63 65 69 76 | 65 64 20 69 6e 20 61 20 |d receiv|ed in a |
|000044f0| 72 65 61 64 61 62 6c 65 | 20 66 6f 72 6d 2e 20 20 |readable| form. |
|00004500| 49 6e 20 61 64 64 69 74 | 69 6f 6e 0a 74 68 65 72 |In addit|ion.ther|
|00004510| 65 20 69 73 20 61 20 60 | 6b 64 65 62 75 67 27 20 |e is a `|kdebug' |
|00004520| 6f 70 74 69 6f 6e 20 74 | 6f 20 63 6f 6e 74 72 6f |option t|o contro|
|00004530| 6c 20 74 68 65 20 64 65 | 62 75 67 67 69 6e 67 20 |l the de|bugging |
|00004540| 6c 65 76 65 6c 20 69 6e | 20 74 68 65 0a 6b 65 72 |level in| the.ker|
|00004550| 6e 65 6c 20 63 6f 64 65 | 2e 0a 0a 2a 20 4c 6f 67 |nel code|...* Log|
|00004560| 20 6d 65 73 73 61 67 65 | 73 20 66 72 6f 6d 20 70 | message|s from p|
|00004570| 70 70 64 20 61 72 65 20 | 6e 6f 77 20 6c 6f 67 67 |ppd are |now logg|
|00004580| 65 64 20 75 73 69 6e 67 | 20 66 61 63 69 6c 69 74 |ed using| facilit|
|00004590| 79 20 60 64 61 65 6d 6f | 6e 27 20 72 61 74 68 65 |y `daemo|n' rathe|
|000045a0| 72 0a 74 68 61 6e 20 60 | 6c 6f 63 61 6c 32 27 2c |r.than `|local2',|
|000045b0| 20 73 69 6e 63 65 20 70 | 70 70 64 20 69 73 20 6e | since p|ppd is n|
|000045c0| 6f 77 20 63 6f 6d 70 69 | 6c 65 64 20 62 79 20 64 |ow compi|led by d|
|000045d0| 65 66 61 75 6c 74 20 77 | 69 74 68 6f 75 74 20 65 |efault w|ithout e|
|000045e0| 78 74 72 61 0a 64 65 62 | 75 67 20 6d 65 73 73 61 |xtra.deb|ug messa|
|000045f0| 67 65 73 20 65 6e 61 62 | 6c 65 64 2e 20 20 59 6f |ges enab|led. Yo|
|00004600| 75 20 70 72 6f 62 61 62 | 6c 79 20 6e 65 65 64 20 |u probab|ly need |
|00004610| 74 6f 20 65 64 69 74 20 | 79 6f 75 72 20 73 79 73 |to edit |your sys|
|00004620| 6c 6f 67 2e 63 6f 6e 66 | 2e 0a 49 20 66 69 6e 64 |log.conf|..I find|
|00004630| 20 69 74 20 75 73 65 66 | 75 6c 20 74 6f 20 73 65 | it usef|ul to se|
|00004640| 6e 64 20 6d 65 73 73 61 | 67 65 73 20 66 6f 72 20 |nd messa|ges for |
|00004650| 66 61 63 69 6c 69 74 79 | 20 60 64 61 65 6d 6f 6e |facility| `daemon|
|00004660| 27 20 61 74 20 6c 65 76 | 65 6c 0a 6e 6f 74 69 63 |' at lev|el.notic|
|00004670| 65 20 28 6f 72 20 68 69 | 67 68 65 72 29 20 74 6f |e (or hi|gher) to|
|00004680| 20 74 68 65 20 63 6f 6e | 73 6f 6c 65 2c 20 61 6e | the con|sole, an|
|00004690| 64 20 6d 65 73 73 61 67 | 65 20 61 74 20 6c 65 76 |d messag|e at lev|
|000046a0| 65 6c 20 64 65 62 75 67 | 20 28 6f 72 0a 68 69 67 |el debug| (or.hig|
|000046b0| 68 65 72 29 20 74 6f 20 | 61 20 6c 6f 67 20 66 69 |her) to |a log fi|
|000046c0| 6c 65 20 73 75 63 68 20 | 61 73 20 2f 65 74 63 2f |le such |as /etc/|
|000046d0| 70 70 70 2f 70 70 70 2d | 6c 6f 67 2e 0a 0a 2a 20 |ppp/ppp-|log...* |
|000046e0| 70 70 70 64 20 6e 6f 77 | 20 69 6e 63 6c 75 64 65 |pppd now| include|
|000046f0| 73 20 63 6f 64 65 20 74 | 6f 20 6c 6f 63 6b 20 61 |s code t|o lock a|
|00004700| 6e 64 20 75 6e 6c 6f 63 | 6b 20 74 68 65 20 73 65 |nd unloc|k the se|
|00004710| 72 69 61 6c 20 64 65 76 | 69 63 65 20 75 73 69 6e |rial dev|ice usin|
|00004720| 67 20 61 0a 55 55 43 50 | 2d 73 74 79 6c 65 20 6c |g a.UUCP|-style l|
|00004730| 6f 63 6b 20 66 69 6c 65 | 2e 20 20 54 68 65 20 60 |ock file|. The `|
|00004740| 6c 6f 63 6b 27 20 6f 70 | 74 69 6f 6e 20 65 6e 61 |lock' op|tion ena|
|00004750| 62 6c 65 73 20 74 68 69 | 73 2e 0a 0a 2a 20 70 70 |bles thi|s...* pp|
|00004760| 70 64 20 6e 6f 77 20 68 | 61 73 20 61 20 60 64 69 |pd now h|as a `di|
|00004770| 73 63 6f 6e 6e 65 63 74 | 27 20 6f 70 74 69 6f 6e |sconnect|' option|
|00004780| 20 77 68 69 63 68 20 73 | 70 65 63 69 66 69 65 73 | which s|pecifies|
|00004790| 20 61 20 63 6f 6d 6d 61 | 6e 64 20 74 6f 20 62 65 | a comma|nd to be|
|000047a0| 0a 72 75 6e 20 61 66 74 | 65 72 20 74 68 65 20 6c |.run aft|er the l|
|000047b0| 69 6e 6b 20 69 73 20 74 | 65 72 6d 69 6e 61 74 65 |ink is t|erminate|
|000047c0| 64 2e 20 20 49 74 20 63 | 61 6e 20 62 65 20 75 73 |d. It c|an be us|
|000047d0| 65 64 2c 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |ed, for |example,|
|000047e0| 20 74 6f 0a 68 61 6e 67 | 20 75 70 20 74 68 65 20 | to.hang| up the |
|000047f0| 6d 6f 64 65 6d 2e 0a 0a | 2a 20 54 68 65 20 70 70 |modem...|* The pp|
|00004800| 70 20 64 72 69 76 65 72 | 73 20 6e 6f 77 20 72 65 |p driver|s now re|
|00004810| 63 6f 72 64 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |cord inf|ormation|
|00004820| 20 77 68 69 63 68 20 65 | 6e 61 62 6c 65 73 20 70 | which e|nables p|
|00004830| 70 70 64 20 74 6f 20 77 | 61 72 6e 0a 79 6f 75 20 |ppd to w|arn.you |
|00004840| 69 66 20 74 68 65 20 6c | 69 6e 6b 20 6f 6e 6c 79 |if the l|ink only|
|00004850| 20 74 72 61 6e 73 6d 69 | 74 73 20 37 20 62 69 74 | transmi|ts 7 bit|
|00004860| 73 2f 63 68 61 72 61 63 | 74 65 72 2c 20 69 2e 65 |s/charac|ter, i.e|
|00004870| 2e 20 69 66 20 74 68 65 | 20 38 74 68 20 62 69 74 |. if the| 8th bit|
|00004880| 0a 69 73 20 61 6c 77 61 | 79 73 20 30 2c 20 31 2c |.is alwa|ys 0, 1,|
|00004890| 20 65 76 65 6e 20 70 61 | 72 69 74 79 2c 20 6f 72 | even pa|rity, or|
|000048a0| 20 6f 64 64 20 70 61 72 | 69 74 79 2e 0a 0a 2a 20 | odd par|ity...* |
|000048b0| 41 20 62 75 67 20 69 6e | 20 70 72 65 76 69 6f 75 |A bug in| previou|
|000048c0| 73 20 76 65 72 73 69 6f | 6e 73 2c 20 77 68 65 72 |s versio|ns, wher|
|000048d0| 65 20 74 68 65 20 56 4a | 20 63 6f 6d 70 72 65 73 |e the VJ| compres|
|000048e0| 73 6f 72 20 77 6f 75 6c | 64 20 75 73 65 20 31 36 |sor woul|d use 16|
|000048f0| 0a 73 6c 6f 74 73 20 65 | 76 65 6e 20 69 66 20 74 |.slots e|ven if t|
|00004900| 68 65 20 70 65 65 72 20 | 72 65 71 75 65 73 74 65 |he peer |requeste|
|00004910| 64 20 66 65 77 65 72 2c | 20 68 61 73 20 62 65 65 |d fewer,| has bee|
|00004920| 6e 20 66 69 78 65 64 2e | 0a 0a 00 00 00 00 00 00 |n fixed.|........|
|00004930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a00| 70 70 70 2d 32 2e 31 2e | 32 64 2f 33 38 36 62 73 |ppp-2.1.|2d/386bs|
|00004a10| 64 2f 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |d/......|........|
|00004a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a60| 00 00 00 00 20 34 30 37 | 30 30 20 00 20 20 20 37 |.... 407|00 . 7|
|00004a70| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00004a80| 20 20 20 20 20 20 30 20 | 20 35 35 35 34 36 35 33 | 0 | 5554653|
|00004a90| 33 36 31 20 20 31 32 36 | 32 32 00 20 35 00 00 00 |361 126|22. 5...|
|00004aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b00| 00 75 73 74 61 72 20 20 | 00 6c 6f 6e 67 79 65 61 |.ustar |.longyea|
|00004b10| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00004b20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00004b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c00| 70 70 70 2d 32 2e 31 2e | 32 64 2f 33 38 36 62 73 |ppp-2.1.|2d/386bs|
|00004c10| 64 2f 6e 65 77 2f 00 00 | 00 00 00 00 00 00 00 00 |d/new/..|........|
|00004c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c60| 00 00 00 00 20 34 30 37 | 30 30 20 00 20 20 20 37 |.... 407|00 . 7|
|00004c70| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00004c80| 20 20 20 20 20 20 30 20 | 20 35 35 37 36 33 33 31 | 0 | 5576331|
|00004c90| 35 32 32 20 20 31 33 34 | 30 37 00 20 35 00 00 00 |522 134|07. 5...|
|00004ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d00| 00 75 73 74 61 72 20 20 | 00 6c 6f 6e 67 79 65 61 |.ustar |.longyea|
|00004d10| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00004d20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00004d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 70 70 70 2d 32 2e 31 2e | 32 64 2f 33 38 36 62 73 |ppp-2.1.|2d/386bs|
|00004e10| 64 2f 6e 65 77 2f 69 66 | 5f 70 70 70 2e 63 00 00 |d/new/if|_ppp.c..|
|00004e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e60| 00 00 00 00 31 30 30 34 | 30 30 20 00 20 20 20 37 |....1004|00 . 7|
|00004e70| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00004e80| 20 31 31 33 34 33 37 20 | 20 35 35 37 36 33 33 31 | 113437 | 5576331|
|00004e90| 34 37 31 20 20 31 35 32 | 30 31 00 20 30 00 00 00 |471 152|01. 0...|
|00004ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 75 73 74 61 72 20 20 | 00 6c 6f 6e 67 79 65 61 |.ustar |.longyea|
|00004f10| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00004f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 2f 2a 0a 20 2a 20 69 66 | 5f 70 70 70 2e 63 20 2d |/*. * if|_ppp.c -|
|00005010| 20 50 6f 69 6e 74 2d 74 | 6f 2d 50 6f 69 6e 74 20 | Point-t|o-Point |
|00005020| 50 72 6f 74 6f 63 6f 6c | 20 28 50 50 50 29 20 41 |Protocol| (PPP) A|
|00005030| 73 79 6e 63 68 72 6f 6e | 6f 75 73 20 64 72 69 76 |synchron|ous driv|
|00005040| 65 72 2e 0a 20 2a 0a 20 | 2a 20 43 6f 70 79 72 69 |er.. *. |* Copyri|
|00005050| 67 68 74 20 28 63 29 20 | 31 39 38 39 20 43 61 72 |ght (c) |1989 Car|
|00005060| 6e 65 67 69 65 20 4d 65 | 6c 6c 6f 6e 20 55 6e 69 |negie Me|llon Uni|
|00005070| 76 65 72 73 69 74 79 2e | 0a 20 2a 20 41 6c 6c 20 |versity.|. * All |
|00005080| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|00005090| 0a 20 2a 0a 20 2a 20 52 | 65 64 69 73 74 72 69 62 |. *. * R|edistrib|
|000050a0| 75 74 69 6f 6e 20 61 6e | 64 20 75 73 65 20 69 6e |ution an|d use in|
|000050b0| 20 73 6f 75 72 63 65 20 | 61 6e 64 20 62 69 6e 61 | source |and bina|
|000050c0| 72 79 20 66 6f 72 6d 73 | 20 61 72 65 20 70 65 72 |ry forms| are per|
|000050d0| 6d 69 74 74 65 64 0a 20 | 2a 20 70 72 6f 76 69 64 |mitted. |* provid|
|000050e0| 65 64 20 74 68 61 74 20 | 74 68 65 20 61 62 6f 76 |ed that |the abov|
|000050f0| 65 20 63 6f 70 79 72 69 | 67 68 74 20 6e 6f 74 69 |e copyri|ght noti|
|00005100| 63 65 20 61 6e 64 20 74 | 68 69 73 20 70 61 72 61 |ce and t|his para|
|00005110| 67 72 61 70 68 20 61 72 | 65 0a 20 2a 20 64 75 70 |graph ar|e. * dup|
|00005120| 6c 69 63 61 74 65 64 20 | 69 6e 20 61 6c 6c 20 73 |licated |in all s|
|00005130| 75 63 68 20 66 6f 72 6d | 73 20 61 6e 64 20 74 68 |uch form|s and th|
|00005140| 61 74 20 61 6e 79 20 64 | 6f 63 75 6d 65 6e 74 61 |at any d|ocumenta|
|00005150| 74 69 6f 6e 2c 0a 20 2a | 20 61 64 76 65 72 74 69 |tion,. *| adverti|
|00005160| 73 69 6e 67 20 6d 61 74 | 65 72 69 61 6c 73 2c 20 |sing mat|erials, |
|00005170| 61 6e 64 20 6f 74 68 65 | 72 20 6d 61 74 65 72 69 |and othe|r materi|
|00005180| 61 6c 73 20 72 65 6c 61 | 74 65 64 20 74 6f 20 73 |als rela|ted to s|
|00005190| 75 63 68 0a 20 2a 20 64 | 69 73 74 72 69 62 75 74 |uch. * d|istribut|
|000051a0| 69 6f 6e 20 61 6e 64 20 | 75 73 65 20 61 63 6b 6e |ion and |use ackn|
|000051b0| 6f 77 6c 65 64 67 65 20 | 74 68 61 74 20 74 68 65 |owledge |that the|
|000051c0| 20 73 6f 66 74 77 61 72 | 65 20 77 61 73 20 64 65 | softwar|e was de|
|000051d0| 76 65 6c 6f 70 65 64 0a | 20 2a 20 62 79 20 43 61 |veloped.| * by Ca|
|000051e0| 72 6e 65 67 69 65 20 4d | 65 6c 6c 6f 6e 20 55 6e |rnegie M|ellon Un|
|000051f0| 69 76 65 72 73 69 74 79 | 2e 20 20 54 68 65 20 6e |iversity|. The n|
|00005200| 61 6d 65 20 6f 66 20 74 | 68 65 0a 20 2a 20 55 6e |ame of t|he. * Un|
|00005210| 69 76 65 72 73 69 74 79 | 20 6d 61 79 20 6e 6f 74 |iversity| may not|
|00005220| 20 62 65 20 75 73 65 64 | 20 74 6f 20 65 6e 64 6f | be used| to endo|
|00005230| 72 73 65 20 6f 72 20 70 | 72 6f 6d 6f 74 65 20 70 |rse or p|romote p|
|00005240| 72 6f 64 75 63 74 73 20 | 64 65 72 69 76 65 64 0a |roducts |derived.|
|00005250| 20 2a 20 66 72 6f 6d 20 | 74 68 69 73 20 73 6f 66 | * from |this sof|
|00005260| 74 77 61 72 65 20 77 69 | 74 68 6f 75 74 20 73 70 |tware wi|thout sp|
|00005270| 65 63 69 66 69 63 20 70 | 72 69 6f 72 20 77 72 69 |ecific p|rior wri|
|00005280| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 2e |tten per|mission.|
|00005290| 0a 20 2a 20 54 48 49 53 | 20 53 4f 46 54 57 41 52 |. * THIS| SOFTWAR|
|000052a0| 45 20 49 53 20 50 52 4f | 56 49 44 45 44 20 60 60 |E IS PRO|VIDED ``|
|000052b0| 41 53 20 49 53 27 27 20 | 41 4e 44 20 57 49 54 48 |AS IS'' |AND WITH|
|000052c0| 4f 55 54 20 41 4e 59 20 | 45 58 50 52 45 53 53 20 |OUT ANY |EXPRESS |
|000052d0| 4f 52 0a 20 2a 20 49 4d | 50 4c 49 45 44 20 57 41 |OR. * IM|PLIED WA|
|000052e0| 52 52 41 4e 54 49 45 53 | 2c 20 49 4e 43 4c 55 44 |RRANTIES|, INCLUD|
|000052f0| 49 4e 47 2c 20 57 49 54 | 48 4f 55 54 20 4c 49 4d |ING, WIT|HOUT LIM|
|00005300| 49 54 41 54 49 4f 4e 2c | 20 54 48 45 20 49 4d 50 |ITATION,| THE IMP|
|00005310| 4c 49 45 44 0a 20 2a 20 | 57 41 52 52 41 4e 54 49 |LIED. * |WARRANTI|
|00005320| 45 53 20 4f 46 20 4d 45 | 52 43 48 41 4e 54 49 42 |ES OF ME|RCHANTIB|
|00005330| 49 4c 49 54 59 20 41 4e | 44 20 46 49 54 4e 45 53 |ILITY AN|D FITNES|
|00005340| 53 20 46 4f 52 20 41 20 | 50 41 52 54 49 43 55 4c |S FOR A |PARTICUL|
|00005350| 41 52 20 50 55 52 50 4f | 53 45 2e 0a 20 2a 0a 20 |AR PURPO|SE.. *. |
|00005360| 2a 20 44 72 65 77 20 44 | 2e 20 50 65 72 6b 69 6e |* Drew D|. Perkin|
|00005370| 73 0a 20 2a 20 43 61 72 | 6e 65 67 69 65 20 4d 65 |s. * Car|negie Me|
|00005380| 6c 6c 6f 6e 20 55 6e 69 | 76 65 72 73 69 74 79 0a |llon Uni|versity.|
|00005390| 20 2a 20 34 39 31 30 20 | 46 6f 72 62 65 73 20 41 | * 4910 |Forbes A|
|000053a0| 76 65 2e 0a 20 2a 20 50 | 69 74 74 73 62 75 72 67 |ve.. * P|ittsburg|
|000053b0| 68 2c 20 50 41 20 31 35 | 32 31 33 0a 20 2a 20 28 |h, PA 15|213. * (|
|000053c0| 34 31 32 29 20 32 36 38 | 2d 38 35 37 36 0a 20 2a |412) 268|-8576. *|
|000053d0| 20 64 64 70 40 61 6e 64 | 72 65 77 2e 63 6d 75 2e | ddp@and|rew.cmu.|
|000053e0| 65 64 75 0a 20 2a 0a 20 | 2a 20 42 61 73 65 64 20 |edu. *. |* Based |
|000053f0| 6f 6e 3a 0a 20 2a 09 40 | 28 23 29 69 66 5f 73 6c |on:. *.@|(#)if_sl|
|00005400| 2e 63 09 37 2e 36 2e 31 | 2e 32 20 28 42 65 72 6b |.c.7.6.1|.2 (Berk|
|00005410| 65 6c 65 79 29 20 32 2f | 31 35 2f 38 39 0a 20 2a |eley) 2/|15/89. *|
|00005420| 0a 20 2a 20 43 6f 70 79 | 72 69 67 68 74 20 28 63 |. * Copy|right (c|
|00005430| 29 20 31 39 38 37 20 52 | 65 67 65 6e 74 73 20 6f |) 1987 R|egents o|
|00005440| 66 20 74 68 65 20 55 6e | 69 76 65 72 73 69 74 79 |f the Un|iversity|
|00005450| 20 6f 66 20 43 61 6c 69 | 66 6f 72 6e 69 61 2e 0a | of Cali|fornia..|
|00005460| 20 2a 20 41 6c 6c 20 72 | 69 67 68 74 73 20 72 65 | * All r|ights re|
|00005470| 73 65 72 76 65 64 2e 0a | 20 2a 0a 20 2a 20 52 65 |served..| *. * Re|
|00005480| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 61 6e 64 |distribu|tion and|
|00005490| 20 75 73 65 20 69 6e 20 | 73 6f 75 72 63 65 20 61 | use in |source a|
|000054a0| 6e 64 20 62 69 6e 61 72 | 79 20 66 6f 72 6d 73 20 |nd binar|y forms |
|000054b0| 61 72 65 20 70 65 72 6d | 69 74 74 65 64 0a 20 2a |are perm|itted. *|
|000054c0| 20 70 72 6f 76 69 64 65 | 64 20 74 68 61 74 20 74 | provide|d that t|
|000054d0| 68 65 20 61 62 6f 76 65 | 20 63 6f 70 79 72 69 67 |he above| copyrig|
|000054e0| 68 74 20 6e 6f 74 69 63 | 65 20 61 6e 64 20 74 68 |ht notic|e and th|
|000054f0| 69 73 20 70 61 72 61 67 | 72 61 70 68 20 61 72 65 |is parag|raph are|
|00005500| 0a 20 2a 20 64 75 70 6c | 69 63 61 74 65 64 20 69 |. * dupl|icated i|
|00005510| 6e 20 61 6c 6c 20 73 75 | 63 68 20 66 6f 72 6d 73 |n all su|ch forms|
|00005520| 20 61 6e 64 20 74 68 61 | 74 20 61 6e 79 20 64 6f | and tha|t any do|
|00005530| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 2c 0a 20 2a 20 |cumentat|ion,. * |
|00005540| 61 64 76 65 72 74 69 73 | 69 6e 67 20 6d 61 74 65 |advertis|ing mate|
|00005550| 72 69 61 6c 73 2c 20 61 | 6e 64 20 6f 74 68 65 72 |rials, a|nd other|
|00005560| 20 6d 61 74 65 72 69 61 | 6c 73 20 72 65 6c 61 74 | materia|ls relat|
|00005570| 65 64 20 74 6f 20 73 75 | 63 68 0a 20 2a 20 64 69 |ed to su|ch. * di|
|00005580| 73 74 72 69 62 75 74 69 | 6f 6e 20 61 6e 64 20 75 |stributi|on and u|
|00005590| 73 65 20 61 63 6b 6e 6f | 77 6c 65 64 67 65 20 74 |se ackno|wledge t|
|000055a0| 68 61 74 20 74 68 65 20 | 73 6f 66 74 77 61 72 65 |hat the |software|
|000055b0| 20 77 61 73 20 64 65 76 | 65 6c 6f 70 65 64 0a 20 | was dev|eloped. |
|000055c0| 2a 20 62 79 20 74 68 65 | 20 55 6e 69 76 65 72 73 |* by the| Univers|
|000055d0| 69 74 79 20 6f 66 20 43 | 61 6c 69 66 6f 72 6e 69 |ity of C|aliforni|
|000055e0| 61 2c 20 42 65 72 6b 65 | 6c 65 79 2e 20 20 54 68 |a, Berke|ley. Th|
|000055f0| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 0a 20 2a |e name o|f the. *|
|00005600| 20 55 6e 69 76 65 72 73 | 69 74 79 20 6d 61 79 20 | Univers|ity may |
|00005610| 6e 6f 74 20 62 65 20 75 | 73 65 64 20 74 6f 20 65 |not be u|sed to e|
|00005620| 6e 64 6f 72 73 65 20 6f | 72 20 70 72 6f 6d 6f 74 |ndorse o|r promot|
|00005630| 65 20 70 72 6f 64 75 63 | 74 73 20 64 65 72 69 76 |e produc|ts deriv|
|00005640| 65 64 0a 20 2a 20 66 72 | 6f 6d 20 74 68 69 73 20 |ed. * fr|om this |
|00005650| 73 6f 66 74 77 61 72 65 | 20 77 69 74 68 6f 75 74 |software| without|
|00005660| 20 73 70 65 63 69 66 69 | 63 20 70 72 69 6f 72 20 | specifi|c prior |
|00005670| 77 72 69 74 74 65 6e 20 | 70 65 72 6d 69 73 73 69 |written |permissi|
|00005680| 6f 6e 2e 0a 20 2a 20 54 | 48 49 53 20 53 4f 46 54 |on.. * T|HIS SOFT|
|00005690| 57 41 52 45 20 49 53 20 | 50 52 4f 56 49 44 45 44 |WARE IS |PROVIDED|
|000056a0| 20 60 60 41 53 20 49 53 | 27 27 20 41 4e 44 20 57 | ``AS IS|'' AND W|
|000056b0| 49 54 48 4f 55 54 20 41 | 4e 59 20 45 58 50 52 45 |ITHOUT A|NY EXPRE|
|000056c0| 53 53 20 4f 52 0a 20 2a | 20 49 4d 50 4c 49 45 44 |SS OR. *| IMPLIED|
|000056d0| 20 57 41 52 52 41 4e 54 | 49 45 53 2c 20 49 4e 43 | WARRANT|IES, INC|
|000056e0| 4c 55 44 49 4e 47 2c 20 | 57 49 54 48 4f 55 54 20 |LUDING, |WITHOUT |
|000056f0| 4c 49 4d 49 54 41 54 49 | 4f 4e 2c 20 54 48 45 20 |LIMITATI|ON, THE |
|00005700| 49 4d 50 4c 49 45 44 0a | 20 2a 20 57 41 52 52 41 |IMPLIED.| * WARRA|
|00005710| 4e 54 49 45 53 20 4f 46 | 20 4d 45 52 43 48 41 4e |NTIES OF| MERCHAN|
|00005720| 54 49 42 49 4c 49 54 59 | 20 41 4e 44 20 46 49 54 |TIBILITY| AND FIT|
|00005730| 4e 45 53 53 20 46 4f 52 | 20 41 20 50 41 52 54 49 |NESS FOR| A PARTI|
|00005740| 43 55 4c 41 52 20 50 55 | 52 50 4f 53 45 2e 0a 20 |CULAR PU|RPOSE.. |
|00005750| 2a 0a 20 2a 20 53 65 72 | 69 61 6c 20 4c 69 6e 65 |*. * Ser|ial Line|
|00005760| 20 69 6e 74 65 72 66 61 | 63 65 0a 20 2a 0a 20 2a | interfa|ce. *. *|
|00005770| 20 52 69 63 6b 20 41 64 | 61 6d 73 0a 20 2a 20 43 | Rick Ad|ams. * C|
|00005780| 65 6e 74 65 72 20 66 6f | 72 20 53 65 69 73 6d 69 |enter fo|r Seismi|
|00005790| 63 20 53 74 75 64 69 65 | 73 0a 20 2a 20 31 33 30 |c Studie|s. * 130|
|000057a0| 30 20 4e 20 31 37 74 68 | 20 53 74 72 65 65 74 2c |0 N 17th| Street,|
|000057b0| 20 53 75 69 74 65 20 31 | 34 35 30 0a 20 2a 20 41 | Suite 1|450. * A|
|000057c0| 72 6c 69 6e 67 74 6f 6e | 2c 20 56 69 72 67 69 6e |rlington|, Virgin|
|000057d0| 69 61 20 32 32 32 30 39 | 0a 20 2a 20 28 37 30 33 |ia 22209|. * (703|
|000057e0| 29 32 37 36 2d 37 39 30 | 30 0a 20 2a 20 72 69 63 |)276-790|0. * ric|
|000057f0| 6b 40 73 65 69 73 6d 6f | 2e 41 52 50 41 0a 20 2a |k@seismo|.ARPA. *|
|00005800| 20 73 65 69 73 6d 6f 21 | 72 69 63 6b 0a 20 2a 0a | seismo!|rick. *.|
|00005810| 20 2a 20 50 6f 75 6e 64 | 65 64 20 6f 6e 20 68 65 | * Pound|ed on he|
|00005820| 61 76 69 6c 79 20 62 79 | 20 43 68 72 69 73 20 54 |avily by| Chris T|
|00005830| 6f 72 65 6b 20 28 63 68 | 72 69 73 40 6d 69 6d 73 |orek (ch|ris@mims|
|00005840| 79 2e 75 6d 64 2e 65 64 | 75 2c 20 75 6d 63 70 2d |y.umd.ed|u, umcp-|
|00005850| 63 73 21 63 68 72 69 73 | 29 2e 0a 20 2a 20 43 6f |cs!chris|).. * Co|
|00005860| 6e 76 65 72 74 65 64 20 | 74 6f 20 34 2e 33 42 53 |nverted |to 4.3BS|
|00005870| 44 20 42 65 74 61 20 62 | 79 20 43 68 72 69 73 20 |D Beta b|y Chris |
|00005880| 54 6f 72 65 6b 2e 0a 20 | 2a 20 4f 74 68 65 72 20 |Torek.. |* Other |
|00005890| 63 68 61 6e 67 65 73 20 | 6d 61 64 65 20 61 74 20 |changes |made at |
|000058a0| 42 65 72 6b 65 6c 65 79 | 2c 20 62 61 73 65 64 20 |Berkeley|, based |
|000058b0| 69 6e 20 70 61 72 74 20 | 6f 6e 20 63 6f 64 65 20 |in part |on code |
|000058c0| 62 79 20 4b 69 72 6b 20 | 53 6d 69 74 68 2e 0a 20 |by Kirk |Smith.. |
|000058d0| 2a 0a 20 2a 20 43 6f 6e | 76 65 72 74 65 64 20 74 |*. * Con|verted t|
|000058e0| 6f 20 34 2e 33 42 53 44 | 2b 20 33 38 36 42 53 44 |o 4.3BSD|+ 386BSD|
|000058f0| 20 62 79 20 42 72 61 64 | 20 50 61 72 6b 65 72 20 | by Brad| Parker |
|00005900| 28 62 72 61 64 40 63 61 | 79 6d 61 6e 2e 63 6f 6d |(brad@ca|yman.com|
|00005910| 29 0a 20 2a 20 41 64 64 | 65 64 20 56 4a 20 74 63 |). * Add|ed VJ tc|
|00005920| 70 20 68 65 61 64 65 72 | 20 63 6f 6d 70 72 65 73 |p header| compres|
|00005930| 73 69 6f 6e 3b 20 6d 6f | 72 65 20 75 6e 69 66 69 |sion; mo|re unifi|
|00005940| 65 64 20 69 6f 63 74 6c | 73 0a 20 2a 0a 20 2a 20 |ed ioctl|s. *. * |
|00005950| 45 78 74 65 6e 73 69 76 | 65 6c 79 20 6d 6f 64 69 |Extensiv|ely modi|
|00005960| 66 69 65 64 20 62 79 20 | 50 61 75 6c 20 4d 61 63 |fied by |Paul Mac|
|00005970| 6b 65 72 72 61 73 20 28 | 70 61 75 6c 75 73 40 63 |kerras (|paulus@c|
|00005980| 73 2e 61 6e 75 2e 65 64 | 75 2e 61 75 29 2e 0a 20 |s.anu.ed|u.au).. |
|00005990| 2a 20 43 6c 65 61 6e 65 | 64 20 75 70 20 61 20 6c |* Cleane|d up a l|
|000059a0| 6f 74 20 6f 66 20 74 68 | 65 20 6d 62 75 66 2d 72 |ot of th|e mbuf-r|
|000059b0| 65 6c 61 74 65 64 20 63 | 6f 64 65 20 74 6f 20 66 |elated c|ode to f|
|000059c0| 69 78 20 62 75 67 73 20 | 74 68 61 74 0a 20 2a 20 |ix bugs |that. * |
|000059d0| 63 61 75 73 65 64 20 73 | 79 73 74 65 6d 20 63 72 |caused s|ystem cr|
|000059e0| 61 73 68 65 73 20 61 6e | 64 20 70 61 63 6b 65 74 |ashes an|d packet|
|000059f0| 20 63 6f 72 72 75 70 74 | 69 6f 6e 2e 20 20 43 68 | corrupt|ion. Ch|
|00005a00| 61 6e 67 65 64 20 70 70 | 70 73 74 61 72 74 0a 20 |anged pp|pstart. |
|00005a10| 2a 20 73 6f 20 74 68 61 | 74 20 69 74 20 64 6f 65 |* so tha|t it doe|
|00005a20| 73 6e 27 74 20 6a 75 73 | 74 20 67 69 76 65 20 75 |sn't jus|t give u|
|00005a30| 70 20 77 69 74 68 20 61 | 20 63 6f 6c 6c 69 73 69 |p with a| collisi|
|00005a40| 6f 6e 20 69 66 20 74 68 | 65 20 77 68 6f 6c 65 0a |on if th|e whole.|
|00005a50| 20 2a 20 70 61 63 6b 65 | 74 20 64 6f 65 73 6e 27 | * packe|t doesn'|
|00005a60| 74 20 66 69 74 20 69 6e | 20 74 68 65 20 6f 75 74 |t fit in| the out|
|00005a70| 70 75 74 20 72 69 6e 67 | 20 62 75 66 66 65 72 2e |put ring| buffer.|
|00005a80| 0a 20 2a 0a 20 2a 20 41 | 64 64 65 64 20 70 72 69 |. *. * A|dded pri|
|00005a90| 6f 72 69 74 79 20 71 75 | 65 75 65 69 6e 67 20 66 |ority qu|eueing f|
|00005aa0| 6f 72 20 69 6e 74 65 72 | 61 63 74 69 76 65 20 49 |or inter|active I|
|00005ab0| 50 20 70 61 63 6b 65 74 | 73 2c 20 66 6f 6c 6c 6f |P packet|s, follo|
|00005ac0| 77 69 6e 67 0a 20 2a 20 | 74 68 65 20 6d 6f 64 65 |wing. * |the mode|
|00005ad0| 6c 20 6f 66 20 69 66 5f | 73 6c 2e 63 2c 20 70 6c |l of if_|sl.c, pl|
|00005ae0| 75 73 20 68 6f 6f 6b 73 | 20 66 6f 72 20 62 70 66 |us hooks| for bpf|
|00005af0| 2e 0a 20 2a 20 50 61 75 | 6c 20 4d 61 63 6b 65 72 |.. * Pau|l Macker|
|00005b00| 72 61 73 20 28 70 61 75 | 6c 75 73 40 63 73 2e 61 |ras (pau|lus@cs.a|
|00005b10| 6e 75 2e 65 64 75 2e 61 | 75 29 2e 0a 20 2a 2f 0a |nu.edu.a|u).. */.|
|00005b20| 0a 2f 2a 20 24 49 64 3a | 20 69 66 5f 70 70 70 2e |./* $Id:| if_ppp.|
|00005b30| 63 2c 76 20 31 2e 31 33 | 20 31 39 39 34 2f 30 36 |c,v 1.13| 1994/06|
|00005b40| 2f 30 38 20 30 30 3a 33 | 38 3a 30 33 20 70 61 75 |/08 00:3|8:03 pau|
|00005b50| 6c 75 73 20 45 78 70 20 | 24 20 2a 2f 0a 2f 2a 20 |lus Exp |$ */./* |
|00005b60| 66 72 6f 6d 20 69 66 5f | 73 6c 2e 63 2c 76 20 31 |from if_|sl.c,v 1|
|00005b70| 2e 31 31 20 38 34 2f 31 | 30 2f 30 34 20 31 32 3a |.11 84/1|0/04 12:|
|00005b80| 35 34 3a 34 37 20 72 69 | 63 6b 20 45 78 70 20 2a |54:47 ri|ck Exp *|
|00005b90| 2f 0a 0a 23 69 6e 63 6c | 75 64 65 20 22 70 70 70 |/..#incl|ude "ppp|
|00005ba0| 2e 68 22 0a 23 69 66 20 | 4e 50 50 50 20 3e 20 30 |.h".#if |NPPP > 0|
|00005bb0| 0a 0a 23 64 65 66 69 6e | 65 20 56 4a 43 0a 0a 23 |..#defin|e VJC..#|
|00005bc0| 69 6e 63 6c 75 64 65 20 | 22 70 61 72 61 6d 2e 68 |include |"param.h|
|00005bd0| 22 0a 23 69 6e 63 6c 75 | 64 65 20 22 70 72 6f 63 |".#inclu|de "proc|
|00005be0| 2e 68 22 0a 23 69 6e 63 | 6c 75 64 65 20 22 6d 62 |.h".#inc|lude "mb|
|00005bf0| 75 66 2e 68 22 0a 23 69 | 6e 63 6c 75 64 65 20 22 |uf.h".#i|nclude "|
|00005c00| 62 75 66 2e 68 22 0a 23 | 69 6e 63 6c 75 64 65 20 |buf.h".#|include |
|00005c10| 22 64 6b 73 74 61 74 2e | 68 22 0a 23 69 6e 63 6c |"dkstat.|h".#incl|
|00005c20| 75 64 65 20 22 73 6f 63 | 6b 65 74 2e 68 22 0a 23 |ude "soc|ket.h".#|
|00005c30| 69 6e 63 6c 75 64 65 20 | 22 69 6f 63 74 6c 2e 68 |include |"ioctl.h|
|00005c40| 22 0a 23 69 6e 63 6c 75 | 64 65 20 22 66 69 6c 65 |".#inclu|de "file|
|00005c50| 2e 68 22 0a 23 69 6e 63 | 6c 75 64 65 20 22 74 74 |.h".#inc|lude "tt|
|00005c60| 79 2e 68 22 0a 23 69 6e | 63 6c 75 64 65 20 22 6b |y.h".#in|clude "k|
|00005c70| 65 72 6e 65 6c 2e 68 22 | 0a 23 69 6e 63 6c 75 64 |ernel.h"|.#includ|
|00005c80| 65 20 22 63 6f 6e 66 2e | 68 22 0a 23 69 6e 63 6c |e "conf.|h".#incl|
|00005c90| 75 64 65 20 22 76 6e 6f | 64 65 2e 68 22 0a 0a 23 |ude "vno|de.h"..#|
|00005ca0| 69 6e 63 6c 75 64 65 20 | 22 69 66 2e 68 22 0a 23 |include |"if.h".#|
|00005cb0| 69 6e 63 6c 75 64 65 20 | 22 69 66 5f 74 79 70 65 |include |"if_type|
|00005cc0| 73 2e 68 22 0a 23 69 6e | 63 6c 75 64 65 20 22 6e |s.h".#in|clude "n|
|00005cd0| 65 74 69 73 72 2e 68 22 | 0a 23 69 6e 63 6c 75 64 |etisr.h"|.#includ|
|00005ce0| 65 20 22 72 6f 75 74 65 | 2e 68 22 0a 0a 23 69 66 |e "route|.h"..#if|
|00005cf0| 20 49 4e 45 54 0a 23 69 | 6e 63 6c 75 64 65 20 22 | INET.#i|nclude "|
|00005d00| 2e 2e 2f 6e 65 74 69 6e | 65 74 2f 69 6e 2e 68 22 |../netin|et/in.h"|
|00005d10| 0a 23 69 6e 63 6c 75 64 | 65 20 22 2e 2e 2f 6e 65 |.#includ|e "../ne|
|00005d20| 74 69 6e 65 74 2f 69 6e | 5f 73 79 73 74 6d 2e 68 |tinet/in|_systm.h|
|00005d30| 22 0a 23 69 6e 63 6c 75 | 64 65 20 22 2e 2e 2f 6e |".#inclu|de "../n|
|00005d40| 65 74 69 6e 65 74 2f 69 | 6e 5f 76 61 72 2e 68 22 |etinet/i|n_var.h"|
|00005d50| 0a 23 69 6e 63 6c 75 64 | 65 20 22 2e 2e 2f 6e 65 |.#includ|e "../ne|
|00005d60| 74 69 6e 65 74 2f 69 70 | 2e 68 22 0a 23 65 6e 64 |tinet/ip|.h".#end|
|00005d70| 69 66 0a 0a 23 69 6e 63 | 6c 75 64 65 20 22 62 70 |if..#inc|lude "bp|
|00005d80| 66 69 6c 74 65 72 2e 68 | 22 0a 23 69 66 20 4e 42 |filter.h|".#if NB|
|00005d90| 50 46 49 4c 54 45 52 20 | 3e 20 30 0a 23 69 6e 63 |PFILTER |> 0.#inc|
|00005da0| 6c 75 64 65 20 22 74 69 | 6d 65 2e 68 22 0a 23 69 |lude "ti|me.h".#i|
|00005db0| 6e 63 6c 75 64 65 20 22 | 62 70 66 2e 68 22 0a 23 |nclude "|bpf.h".#|
|00005dc0| 65 6e 64 69 66 0a 0a 23 | 69 66 64 65 66 20 56 4a |endif..#|ifdef VJ|
|00005dd0| 43 0a 23 69 6e 63 6c 75 | 64 65 20 22 73 6c 63 6f |C.#inclu|de "slco|
|00005de0| 6d 70 72 65 73 73 2e 68 | 22 0a 23 64 65 66 69 6e |mpress.h|".#defin|
|00005df0| 65 20 48 44 52 4f 46 46 | 09 4d 41 58 5f 48 44 52 |e HDROFF|.MAX_HDR|
|00005e00| 0a 2f 2a 20 48 44 52 4f | 46 46 20 73 68 6f 75 6c |./* HDRO|FF shoul|
|00005e10| 64 20 72 65 61 6c 6c 79 | 20 62 65 20 31 32 38 2c |d really| be 128,|
|00005e20| 20 62 75 74 20 6f 74 68 | 65 72 20 70 61 72 74 73 | but oth|er parts|
|00005e30| 20 6f 66 20 74 68 65 20 | 73 79 73 74 65 6d 20 77 | of the |system w|
|00005e40| 69 6c 6c 0a 20 20 20 70 | 61 6e 69 63 20 6f 6e 20 |ill. p|anic on |
|00005e50| 54 43 50 2b 49 50 20 68 | 65 61 64 65 72 73 20 62 |TCP+IP h|eaders b|
|00005e60| 69 67 67 65 72 20 74 68 | 61 6e 20 4d 41 58 5f 48 |igger th|an MAX_H|
|00005e70| 44 52 20 3d 20 4d 48 4c | 45 4e 20 28 31 30 30 29 |DR = MHL|EN (100)|
|00005e80| 2e 20 2a 2f 0a 0a 23 65 | 6c 73 65 0a 23 64 65 66 |. */..#e|lse.#def|
|00005e90| 69 6e 65 09 48 44 52 4f | 46 46 09 28 30 29 0a 23 |ine.HDRO|FF.(0).#|
|00005ea0| 65 6e 64 69 66 0a 0a 23 | 69 6e 63 6c 75 64 65 20 |endif..#|include |
|00005eb0| 22 69 66 5f 70 70 70 2e | 68 22 0a 23 69 6e 63 6c |"if_ppp.|h".#incl|
|00005ec0| 75 64 65 20 22 6d 61 63 | 68 69 6e 65 2f 6d 74 70 |ude "mac|hine/mtp|
|00005ed0| 72 2e 68 22 0a 0a 2f 2a | 0a 20 2a 20 48 65 72 65 |r.h"../*|. * Here|
|00005ee0| 20 77 65 20 74 72 79 20 | 74 6f 20 74 65 6c 6c 20 | we try |to tell |
|00005ef0| 77 68 65 74 68 65 72 20 | 77 65 20 61 72 65 20 69 |whether |we are i|
|00005f00| 6e 20 61 20 33 38 36 42 | 53 44 20 6b 65 72 6e 65 |n a 386B|SD kerne|
|00005f10| 6c 2c 20 6f 72 0a 20 2a | 20 69 6e 20 61 20 4e 65 |l, or. *| in a Ne|
|00005f20| 74 42 53 44 2f 4e 65 74 | 2d 32 2f 34 2e 33 2d 52 |tBSD/Net|-2/4.3-R|
|00005f30| 65 6e 6f 20 6b 65 72 6e | 65 6c 2e 0a 20 2a 2f 0a |eno kern|el.. */.|
|00005f40| 23 69 66 6e 64 65 66 09 | 52 42 5f 4c 45 4e 0a 2f |#ifndef.|RB_LEN./|
|00005f50| 2a 20 4e 65 74 42 53 44 | 2c 20 34 2e 33 2d 52 65 |* NetBSD|, 4.3-Re|
|00005f60| 6e 6f 20 6f 72 20 73 69 | 6d 69 6c 61 72 20 2a 2f |no or si|milar */|
|00005f70| 0a 23 64 65 66 69 6e 65 | 20 43 43 4f 55 4e 54 28 |.#define| CCOUNT(|
|00005f80| 71 29 09 28 28 71 29 2d | 3e 63 5f 63 63 29 0a 0a |q).((q)-|>c_cc)..|
|00005f90| 23 65 6c 73 65 0a 2f 2a | 20 33 38 36 42 53 44 2c |#else./*| 386BSD,|
|00005fa0| 20 4a 6f 6c 69 74 7a 2d | 73 74 79 6c 65 20 72 69 | Jolitz-|style ri|
|00005fb0| 6e 67 20 62 75 66 66 65 | 72 73 20 2a 2f 0a 23 64 |ng buffe|rs */.#d|
|00005fc0| 65 66 69 6e 65 20 74 5f | 6f 75 74 71 09 09 74 5f |efine t_|outq..t_|
|00005fd0| 6f 75 74 0a 23 64 65 66 | 69 6e 65 20 74 5f 72 61 |out.#def|ine t_ra|
|00005fe0| 77 71 09 09 74 5f 72 61 | 77 0a 23 64 65 66 69 6e |wq..t_ra|w.#defin|
|00005ff0| 65 20 74 5f 63 61 6e 71 | 09 09 74 5f 63 61 6e 0a |e t_canq|..t_can.|
|00006000| 23 64 65 66 69 6e 65 20 | 43 43 4f 55 4e 54 28 71 |#define |CCOUNT(q|
|00006010| 29 09 28 52 42 5f 4c 45 | 4e 28 71 29 29 0a 23 65 |).(RB_LE|N(q)).#e|
|00006020| 6e 64 69 66 0a 0a 23 64 | 65 66 69 6e 65 20 74 5f |ndif..#d|efine t_|
|00006030| 73 63 20 54 5f 4c 49 4e | 45 50 0a 23 64 65 66 69 |sc T_LIN|EP.#defi|
|00006040| 6e 65 09 50 50 50 5f 48 | 49 57 41 54 09 34 30 30 |ne.PPP_H|IWAT.400|
|00006050| 09 2f 2a 20 44 6f 6e 27 | 74 20 73 74 61 72 74 20 |./* Don'|t start |
|00006060| 61 20 6e 65 77 20 70 61 | 63 6b 65 74 20 69 66 20 |a new pa|cket if |
|00006070| 48 49 57 41 54 20 6f 6e | 20 71 75 65 20 2a 2f 0a |HIWAT on| que */.|
|00006080| 0a 73 74 72 75 63 74 20 | 70 70 70 5f 73 6f 66 74 |.struct |ppp_soft|
|00006090| 63 20 70 70 70 5f 73 6f | 66 74 63 5b 4e 50 50 50 |c ppp_so|ftc[NPPP|
|000060a0| 5d 3b 0a 0a 76 6f 69 64 | 09 70 70 70 61 74 74 61 |];..void|.pppatta|
|000060b0| 63 68 20 5f 5f 50 28 28 | 76 6f 69 64 29 29 3b 0a |ch __P((|void));.|
|000060c0| 69 6e 74 09 70 70 70 6f | 70 65 6e 20 5f 5f 50 28 |int.pppo|pen __P(|
|000060d0| 28 64 65 76 5f 74 20 64 | 65 76 2c 20 73 74 72 75 |(dev_t d|ev, stru|
|000060e0| 63 74 20 74 74 79 20 2a | 74 70 29 29 3b 0a 76 6f |ct tty *|tp));.vo|
|000060f0| 69 64 09 70 70 70 63 6c | 6f 73 65 20 5f 5f 50 28 |id.pppcl|ose __P(|
|00006100| 28 73 74 72 75 63 74 20 | 74 74 79 20 2a 74 70 2c |(struct |tty *tp,|
|00006110| 20 69 6e 74 20 66 6c 61 | 67 29 29 3b 0a 69 6e 74 | int fla|g));.int|
|00006120| 09 70 70 70 72 65 61 64 | 20 5f 5f 50 28 28 73 74 |.pppread| __P((st|
|00006130| 72 75 63 74 20 74 74 79 | 20 2a 74 70 2c 20 73 74 |ruct tty| *tp, st|
|00006140| 72 75 63 74 20 75 69 6f | 20 2a 75 69 6f 2c 20 69 |ruct uio| *uio, i|
|00006150| 6e 74 20 66 6c 61 67 29 | 29 3b 0a 69 6e 74 09 70 |nt flag)|);.int.p|
|00006160| 70 70 77 72 69 74 65 20 | 5f 5f 50 28 28 73 74 72 |ppwrite |__P((str|
|00006170| 75 63 74 20 74 74 79 20 | 2a 74 70 2c 20 73 74 72 |uct tty |*tp, str|
|00006180| 75 63 74 20 75 69 6f 20 | 2a 75 69 6f 2c 20 69 6e |uct uio |*uio, in|
|00006190| 74 20 66 6c 61 67 29 29 | 3b 0a 69 6e 74 09 70 70 |t flag))|;.int.pp|
|000061a0| 70 74 69 6f 63 74 6c 20 | 5f 5f 50 28 28 73 74 72 |ptioctl |__P((str|
|000061b0| 75 63 74 20 74 74 79 20 | 2a 74 70 2c 20 69 6e 74 |uct tty |*tp, int|
|000061c0| 20 63 6d 64 2c 20 63 61 | 64 64 72 5f 74 20 64 61 | cmd, ca|ddr_t da|
|000061d0| 74 61 2c 20 69 6e 74 20 | 66 6c 61 67 29 29 3b 0a |ta, int |flag));.|
|000061e0| 69 6e 74 09 70 70 70 6f | 75 74 70 75 74 20 5f 5f |int.pppo|utput __|
|000061f0| 50 28 28 73 74 72 75 63 | 74 20 69 66 6e 65 74 20 |P((struc|t ifnet |
|00006200| 2a 69 66 70 2c 20 73 74 | 72 75 63 74 20 6d 62 75 |*ifp, st|ruct mbu|
|00006210| 66 20 2a 6d 30 2c 0a 09 | 09 20 20 20 20 20 20 20 |f *m0,..|. |
|00006220| 73 74 72 75 63 74 20 73 | 6f 63 6b 61 64 64 72 20 |struct s|ockaddr |
|00006230| 2a 64 73 74 29 29 3b 0a | 76 6f 69 64 09 70 70 70 |*dst));.|void.ppp|
|00006240| 69 6e 70 75 74 20 5f 5f | 50 28 28 69 6e 74 20 63 |input __|P((int c|
|00006250| 2c 20 73 74 72 75 63 74 | 20 74 74 79 20 2a 74 70 |, struct| tty *tp|
|00006260| 29 29 3b 0a 69 6e 74 09 | 70 70 70 69 6f 63 74 6c |));.int.|pppioctl|
|00006270| 20 5f 5f 50 28 28 73 74 | 72 75 63 74 20 69 66 6e | __P((st|ruct ifn|
|00006280| 65 74 20 2a 69 66 70 2c | 20 69 6e 74 20 63 6d 64 |et *ifp,| int cmd|
|00006290| 2c 20 63 61 64 64 72 5f | 74 20 64 61 74 61 29 29 |, caddr_|t data))|
|000062a0| 3b 0a 76 6f 69 64 09 70 | 70 70 73 74 61 72 74 20 |;.void.p|ppstart |
|000062b0| 5f 5f 50 28 28 73 74 72 | 75 63 74 20 74 74 79 20 |__P((str|uct tty |
|000062c0| 2a 74 70 29 29 3b 0a 0a | 73 74 61 74 69 63 20 69 |*tp));..|static i|
|000062d0| 6e 74 09 70 70 70 61 73 | 79 6e 63 73 74 61 72 74 |nt.pppas|yncstart|
|000062e0| 20 5f 5f 50 28 28 73 74 | 72 75 63 74 20 70 70 70 | __P((st|ruct ppp|
|000062f0| 5f 73 6f 66 74 63 20 2a | 29 29 3b 0a 73 74 61 74 |_softc *|));.stat|
|00006300| 69 63 20 75 5f 73 68 6f | 72 74 09 70 70 70 66 63 |ic u_sho|rt.pppfc|
|00006310| 73 20 5f 5f 50 28 28 75 | 5f 73 68 6f 72 74 20 66 |s __P((u|_short f|
|00006320| 63 73 2c 20 75 5f 63 68 | 61 72 20 2a 63 70 2c 20 |cs, u_ch|ar *cp, |
|00006330| 69 6e 74 20 6c 65 6e 29 | 29 3b 0a 73 74 61 74 69 |int len)|);.stati|
|00006340| 63 20 69 6e 74 09 70 70 | 70 67 65 74 6d 20 5f 5f |c int.pp|pgetm __|
|00006350| 50 28 28 73 74 72 75 63 | 74 20 70 70 70 5f 73 6f |P((struc|t ppp_so|
|00006360| 66 74 63 20 2a 73 63 29 | 29 3b 0a 73 74 61 74 69 |ftc *sc)|);.stati|
|00006370| 63 20 73 74 72 75 63 74 | 09 6d 62 75 66 20 2a 70 |c struct|.mbuf *p|
|00006380| 70 70 5f 62 74 6f 6d 20 | 5f 5f 50 28 28 73 74 72 |pp_btom |__P((str|
|00006390| 75 63 74 20 70 70 70 5f | 73 6f 66 74 63 20 2a 73 |uct ppp_|softc *s|
|000063a0| 63 29 29 3b 0a 73 74 61 | 74 69 63 20 76 6f 69 64 |c));.sta|tic void|
|000063b0| 09 70 70 70 64 75 6d 70 | 6d 20 5f 5f 50 28 28 73 |.pppdump|m __P((s|
|000063c0| 74 72 75 63 74 20 6d 62 | 75 66 20 2a 6d 30 2c 20 |truct mb|uf *m0, |
|000063d0| 69 6e 74 20 70 6b 74 6c | 65 6e 29 29 3b 0a 73 74 |int pktl|en));.st|
|000063e0| 61 74 69 63 20 76 6f 69 | 64 09 70 70 70 64 75 6d |atic voi|d.pppdum|
|000063f0| 70 62 20 5f 5f 50 28 28 | 75 5f 63 68 61 72 20 2a |pb __P((|u_char *|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.